Python Daily
2.57K subscribers
1.48K photos
53 videos
2 files
38.9K links
Daily Python News
Question, Tips and Tricks, Best Practices on Python Programming Language
Find more reddit channels over at @r_channels
Download Telegram
graphene-django: how do I implement subscriptions?

Subscriptions look like a critical feature of graphql but graphene doesn't appear to support them. Is there a way to handle subscriptions manually perhaps using django channels?

/r/djangolearning
https://redd.it/5jdrvr
How does the directory work in Juypter notebook?

Say i have a csv file, how do i load it into juypter so that i can call it?

I'm not sure if the directory should be where the csv file is on my computer or on jupyter. i tried using both path but its always giving me this error

IOError: [Errno 2] No such file or directory: 'sample.csv'

any help is appreciated. thanks!

/r/IPython
https://redd.it/5js89o
[N] Elon Musk on Twitter : Tesla Autopilot vision neural net now working well. Just need to get a lot of road time to validate in a wide range of environments.
https://twitter.com/elonmusk/status/811738008969842689

/r/MachineLearning
https://redd.it/5jrl79
Does MyPy have any shortcomings in its typing versus a traditional statically typed language?

I'm really impressed that they managed to capture all the possibilities of Python's type system and put it into a comprehensive syntax. Once you bring in concepts like generics and polymorphism into play in a language, types can get pretty complicated. How does MyPy compare to a statically-typed language like C++ or C#? Are there any holes or flaws?

/r/Python
https://redd.it/5juo74
matplotlib plots freeze when trying to close in ipython 5.0, on El Capitan.

I am running python 2.7.10 and just installed ipython 5.0. When I create a simple plot using matplotlib and then try to close it, the figure just hangs. Anyone else experiencing this? Pretty shitty release if I can't even plot anything anymore.

/r/IPython
https://redd.it/4s2yrc
Computational Statistics in Python — A comprehensive review
http://people.duke.edu/~ccc14/sta-663/index.html

/r/JupyterNotebooks
https://redd.it/48xrb8
Where to ask questions about IPython nbextensions?

I am trying to debug an IPython nbextension, and I need to put a hook in that runs at the later of the following events:

- when the nbextension is loaded
- when the notebook metadata is loaded

I can't seem to figure this out. Where is the best place to ask questions like this?

/r/IPython
https://redd.it/4ryk6t
How do you automate your life with python?

What nifty little script did you write to save some time using python?

For me:

I gathered some libraries and did a script that downloads youtube videos (from a link of a direct video or several from a playlist), and when it is done it converts every file to mp3, then it uploads to dropbox and get the direct link of every mp3

For now it does just that. But I'll add some code to make it use the direct link to feed my podcast rss on HuffDuffer.

I use this to download entire classes that are available online and listen while I commute

/r/Python
https://redd.it/5jv3db
What are some of the most extensive projects you have seen?

I am a college student and I'm thinking about doing a side project and looking for some inspiration.

I'm looking forward to devote 5-6 months of time to a good, extensive project. Ideas?

/r/Python
https://redd.it/5jwfng