Interesting Eliza twitter bot. [not mine] Uses nltk package. Keen to hear of other chat bots and understand how to manage them.: https://www.reddit.com/r/Python/comments/4srbhb/interesting_eliza_twitter_bot_not_mine_uses_nltk/
reddit
Interesting Eliza twitter bot. [not mine] Uses nltk... • /r/Python
1 points and 1 comments so far on reddit
Broadcasting for subtensor created from matrix (Theano): http://stackoverflow.com/questions/38309429/broadcasting-for-subtensor-created-from-matrix-theano
Stackoverflow
Broadcasting for subtensor created from matrix (Theano)
I want to create two subtensors from a matrix, using indices to select the respective rows.
One subtensor has several rows, the other just one, which should be broadcast to allow for element-wise
One subtensor has several rows, the other just one, which should be broadcast to allow for element-wise
Why are Python's arrays slow?: http://stackoverflow.com/questions/36778568/why-are-pythons-arrays-slow
Stack Overflow
Why are Python's arrays slow?
I expected array.array to be faster than lists, as arrays seem to be unboxed.
However, I get the following result:
In [1]: import array
In [2]: L = list(range(100000000))
In [3]: A = array.arra...
However, I get the following result:
In [1]: import array
In [2]: L = list(range(100000000))
In [3]: A = array.arra...
Why is 'x' in ('x',) faster than 'x' == 'x'?: http://stackoverflow.com/questions/28885132/why-is-x-in-x-faster-than-x-x
Stack Overflow
Why is 'x' in ('x',) faster than 'x' == 'x'?
>>> timeit.timeit("'x' in ('x',)")
0.04869917374131205
>>> timeit.timeit("'x' == 'x'")
0.06144205736110564
Also works for tuples with multiple elements, both versions seem to grow
0.04869917374131205
>>> timeit.timeit("'x' == 'x'")
0.06144205736110564
Also works for tuples with multiple elements, both versions seem to grow
Altair: Declarative statistical visualization library for Python, based on Vega-Lite: https://www.reddit.com/r/Python/comments/4ssfs4/altair_declarative_statistical_visualization/
reddit
Altair: Declarative statistical visualization library... • /r/Python
2 points and 0 comments so far on reddit
Teaching an AI to write Python code with Python code: http://www.benjamintd.com/blog/spynet/
Why are some functions in python spelled with underscore, while some are not: setdefault, makedirs, isinstance?: https://www.reddit.com/r/Python/comments/4stbtb/why_are_some_functions_in_python_spelled_with/
reddit
Why are some functions in python spelled with... • /r/Python
3 points and 0 comments so far on reddit
Teaching an AI to write Python code with Python code: https://www.reddit.com/r/Python/comments/4st61v/teaching_an_ai_to_write_python_code_with_python/
reddit
Teaching an AI to write Python code with Python code • /r/Python
4 points and 0 comments so far on reddit
Yolog v0.3.0 - Thin and cute wrapper over plain git logs.: https://www.reddit.com/r/Python/comments/4stgq4/yolog_v030_thin_and_cute_wrapper_over_plain_git/
reddit
Yolog v0.3.0 - Thin and cute wrapper over plain git logs. • /r/Python
1 points and 0 comments so far on reddit
Django REST framework 3.4 Released [x-post from /r/django]: https://www.reddit.com/r/Python/comments/4stflf/django_rest_framework_34_released_xpost_from/
reddit
Django REST framework 3.4 Released [x-post from /r/django] • /r/Python
4 points and 1 comments so far on reddit
Python Weekly - Issue 252: http://us2.campaign-archive.com/?u=e2e180baf855ac797ef407fc7
The Gordon and Betty Moore Foundation Grant for Numba and Dask: https://www.reddit.com/r/Python/comments/4stpr5/the_gordon_and_betty_moore_foundation_grant_for/
reddit
The Gordon and Betty Moore Foundation Grant for Numba... • /r/Python
2 points and 1 comments so far on reddit
Python Integration: Alternative to FactSet (Help): https://www.reddit.com/r/Python/comments/4sty6v/python_integration_alternative_to_factset_help/
reddit
Python Integration: Alternative to FactSet (Help) • /r/Python
Hi everyone. This may not be the right place to post this, but I'm looking into using the Python API in FactSet for: * Historical financial...
PyTanks - my attempt to create exercises for learning Python: https://www.reddit.com/r/Python/comments/4stv7i/pytanks_my_attempt_to_create_exercises_for/
reddit
PyTanks - my attempt to create exercises for learning... • /r/Python
Here it is in its very early version: *[http://pytanks.org](http://pytanks.org)* It is intended either for people not acquainted with Python or...
Should 'self' be highlighted in python syntax highlighting?: https://www.reddit.com/r/Python/comments/4sttn8/should_self_be_highlighted_in_python_syntax/
reddit
Should 'self' be highlighted in python syntax... • /r/Python
I use vim, and the bundled python.vim syntax file does not highlight *self*. I looked around, and it turns out that there isn't any standard on...
Why does this not give me 2 errors?: https://www.reddit.com/r/Python/comments/4su0sb/why_does_this_not_give_me_2_errors/
reddit
Why does this not give me 2 errors? • /r/Python
http://prntscr.com/bsvotv I don't understand why it does print "Error" and that it doesn't print "Don't divide by 0" Please someone explain this...
How to deal with mailchimp API in Python for email confirmation?: https://www.reddit.com/r/Python/comments/4su0s6/how_to_deal_with_mailchimp_api_in_python_for/
reddit
How to deal with mailchimp API in Python for email... • /r/Python
Hello everyone! I'm doing a project in Flask related with a referral page like the one mentioned on Tim Ferris blog done in RoR. Right...
Python testing mock module help: https://www.reddit.com/r/Python/comments/4su6bz/python_testing_mock_module_help/
reddit
Python testing mock module help • /r/Python
Hey guys, I'm writing some code which automates AWS deployments. I have a function which relies on a custom developed ASG class. The custom ASG...
cv2.videocapture doesn't works on Raspberry-pi: http://stackoverflow.com/questions/38302161/cv2-videocapture-doesnt-works-on-raspberry-pi
Stack Overflow
cv2.videocapture doesn't works on Raspberry-pi
How can i make the cv2.VideoCapture(0) recognize the USB camera of raspberry-pi.
def OnRecord(self, evt):
capture = cv2.VideoCapture(0)
if (not capture.isOpened()):
print "Error"
#...
def OnRecord(self, evt):
capture = cv2.VideoCapture(0)
if (not capture.isOpened()):
print "Error"
#...