Python and Machine Learning in Astronomy [audio]: https://talkpython.fm/episodes/show/81/python-and-machine-learning-in-astronomy
talkpython.fm
Python and Machine Learning in Astronomy
The advances in Astronomy over the past century are both evidence of and confirmation of the highest heights of human ingenuity. We have learned by studying the frequency of light that the universe is expanding. By observing the orbit of Mercury that Einstein's…
How I accidentally deleted all my python modules and got it back in 20 minutes: https://www.reddit.com/r/Python/comments/5a5qah/how_i_accidentally_deleted_all_my_python_modules/
reddit
How I accidentally deleted all my python modules and... • /r/Python
1 points and 2 comments so far on reddit
I don't understand Python's Asyncio: http://lucumr.pocoo.org/2016/10/30/i-dont-understand-asyncio/
What improvements would you like to see in Python 4?: https://www.reddit.com/r/Python/comments/5a652e/what_improvements_would_you_like_to_see_in_python/
reddit
What improvements would you like to see in Python 4? • /r/Python
They don't have to be realistic changes, but anything you'd love to see in an "ideal" Python version? I've always wanted a `var` keyword when...
How to do Byte Pair Encoding replacements efficiently in Python?: http://stackoverflow.com/questions/40281055/how-to-do-byte-pair-encoding-replacements-efficiently-in-python
Stackoverflow
How to do Byte Pair Encoding replacements efficiently in Python?
In the Byte Pair Encoding algorithm, there's a replacement step where it changes the character strings delimited by spaces to bigrams.
I.e., given a list of str tuples as such:
[('t', 'h', 'i', ...
I.e., given a list of str tuples as such:
[('t', 'h', 'i', ...
Creating a |N| x |M| matrix from a hash-table: http://stackoverflow.com/questions/40209612/creating-a-n-x-m-matrix-from-a-hash-table
Stackoverflow
Creating a |N| x |M| matrix from a hash-table
Imagine I have a dictionary / hashtable of pairs of strings (keys) and their respective probabilities (values):
import numpy as np
import random
import uuid
# Creating the N vocabulary and M voca...
import numpy as np
import random
import uuid
# Creating the N vocabulary and M voca...
Can Kotlin Become an Alternative to Python and Scala?: https://www.reddit.com/r/Python/comments/5a6mbm/can_kotlin_become_an_alternative_to_python_and/
reddit
Can Kotlin Become an Alternative to Python and Scala? • /r/Python
2 points and 0 comments so far on reddit
I don't understand Python's Asyncio | Armin Ronacher's Thoughts and Writings: https://www.reddit.com/r/Python/comments/5a6gmv/i_dont_understand_pythons_asyncio_armin_ronachers/
reddit
I don't understand Python's Asyncio | Armin Ronacher's Thoughts...
Posted in r/Python by u/riksi • 183 points and 101 comments
Simple Python Twitter bot that tweets the world population every 24h, feel free to use!: https://www.reddit.com/r/Python/comments/5a6u6w/simple_python_twitter_bot_that_tweets_the_world/
reddit
Simple Python Twitter bot that tweets the world... • /r/Python
2 points and 0 comments so far on reddit
How to write a parser in Python using scanners, lexical analysis, and recursive decent parsing: https://www.reddit.com/r/Python/comments/5a71z8/how_to_write_a_parser_in_python_using_scanners/
reddit
How to write a parser in Python using scanners,... • /r/Python
0 points and 0 comments so far on reddit
Why is there no constant keyword?: https://www.reddit.com/r/Python/comments/5a75k3/why_is_there_no_constant_keyword/
reddit
Why is there no constant keyword? • /r/Python
Having such a thing allows: 1. You to have safer code by depending on values being the same 2. You to have faster code, because the interpreter...
What is the relationship between the Python data model and built-in functions?: https://www.reddit.com/r/Python/comments/5a7fn2/what_is_the_relationship_between_the_python_data/
reddit
What is the relationship between the Python data model... • /r/Python
2 points and 0 comments so far on reddit
GitHub - blue-yonder/tsfresh: Automatic extraction of relevant features from time series (Python): https://www.reddit.com/r/Python/comments/5a7x2r/github_blueyondertsfresh_automatic_extraction_of/
reddit
GitHub - blue-yonder/tsfresh: Automatic extraction of... • /r/Python
1 points and 0 comments so far on reddit
Return a future result using single event loop with decorated coroutine: http://stackoverflow.com/questions/40306458/return-a-future-result-using-single-event-loop-with-decorated-coroutine
Stackoverflow
Return a future result using single event loop with decorated coroutine
I have a decorator that decorate a coroutine function and assign the value returned by the coroutine to a future instance.
import asyncio
import functools
def ensure_prepare(future):
async def
import asyncio
import functools
def ensure_prepare(future):
async def
Reading Frame Buffer from camera using ctypes: http://stackoverflow.com/questions/40294238/reading-frame-buffer-from-camera-using-ctypes
Stack Overflow
Reading Frame Buffer from camera using ctypes
I'm having problems to read out the frame buffer of a camera using python. The camera (Xenics) is connected via USB and there is a dll which ships with the camera. I access this dll using ctypes. The
Writing comprehensive and testable CLI apps in Python: https://www.reddit.com/r/Python/comments/5a99jf/writing_comprehensive_and_testable_cli_apps_in/
reddit
Writing comprehensive and testable CLI apps in Python • /r/Python
1 points and 0 comments so far on reddit
Enhance a low resolution image using a deep neural net with a simple command: "python3 enhance.py image.png": https://www.reddit.com/r/Python/comments/5a9idj/enhance_a_low_resolution_image_using_a_deep/
reddit
Enhance a low resolution image using a deep neural net... • /r/Python
2 points and 0 comments so far on reddit