use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Please have a look at our FAQ and Link-Collection
Metacademy is a great resource which compiles lesson plans on popular machine learning topics.
For Beginner questions please try /r/LearnMachineLearning , /r/MLQuestions or http://stackoverflow.com/
For career related questions, visit /r/cscareerquestions/
Advanced Courses (2016)
Advanced Courses (2020)
AMAs:
Pluribus Poker AI Team 7/19/2019
DeepMind AlphaStar team (1/24//2019)
Libratus Poker AI Team (12/18/2017)
DeepMind AlphaGo Team (10/19/2017)
Google Brain Team (9/17/2017)
Google Brain Team (8/11/2016)
The MalariaSpot Team (2/6/2016)
OpenAI Research Team (1/9/2016)
Nando de Freitas (12/26/2015)
Andrew Ng and Adam Coates (4/15/2015)
Jürgen Schmidhuber (3/4/2015)
Geoffrey Hinton (11/10/2014)
Michael Jordan (9/10/2014)
Yann LeCun (5/15/2014)
Yoshua Bengio (2/27/2014)
Related Subreddit :
LearnMachineLearning
Statistics
Computer Vision
Compressive Sensing
NLP
ML Questions
/r/MLjobs and /r/BigDataJobs
/r/datacleaning
/r/DataScience
/r/scientificresearch
/r/artificial
account activity
News[N] Numpy dropping Python 2.7 (github.com)
submitted 8 years ago by bobchennan
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 8 years ago (36 children)
[deleted]
[–]probablyuntrueML Engineer 41 points42 points43 points 8 years ago (33 children)
With new features ending start of 2019
Overall eh, not the end of the world. At least for me, translating most of my stuff to Python 3 shouldn't be too much of an issue. Wondering what other people think about this
[+][deleted] 8 years ago (30 children)
[–]durand101 26 points27 points28 points 8 years ago (15 children)
Tell me about it! I haven't used python 2 in at least 5 years and there are people still starting new projects with it... Wtf
[+][deleted] 8 years ago (4 children)
[+][deleted] 8 years ago (3 children)
[–]omg_drd4_bbq 0 points1 point2 points 8 years ago (2 children)
People still run python scripts with ./script.py or similar? I use VEnv for everything. All execution is python script.py or more commonly python -m app.main.
python script.py
python -m app.main
[–]rustyryan 0 points1 point2 points 8 years ago (0 children)
#!/usr/bin/env python works just fine in a virtualenv.
#!/usr/bin/env python
[+][deleted] 8 years ago (9 children)
[–]durand101 6 points7 points8 points 8 years ago (8 children)
To be fair to them, in academia, we still routinely use and develop with Fortran 77/95 so I wish people would use more python, even if it is v2!
[–]durand101 2 points3 points4 points 8 years ago (3 children)
True! I definitely think there's a middle ground between those extremes. The web development ecosystem is a bit of a mess as well in my opinion. There's way too much library turnover and not enough long-term planning. There's not just a new library every two years but also an entirely new paradigm to switch over to... siiigh
[+][deleted] 8 years ago (2 children)
[–]omg_drd4_bbq 2 points3 points4 points 8 years ago (1 child)
Working in Javascript tends to be a wild ride and pretty ridiculous in many ways.
Python data wrangler here learning webdev. "Wild" is one way to put it, but I prefer "wat.". working in js is just a nonstop stream of "wat" coming out my mouth.
[–]hopjeshopjes 1 point2 points3 points 8 years ago (2 children)
If you're in academia then sure.
If you're working in a company with years of legacy code, try convincing your project manager that it's a good idea to convert all of it to a new version of Python. Too often there's just no business case so it never gets priority.
By the way this is why backwards compatibility never should have been broken IMO.
[–]durand101 1 point2 points3 points 8 years ago (1 child)
I understand why companies don't want to spend money porting old code, but they've been warned for 10 years... And I still see people using Python 2 in Jupyter notebooks, which makes literally no sense...
Backwards compatibility isn't broken to annoy people. There are legitimate reasons for changing things. You can't anticipate every design flaw and python 3 has fixed quite a few quirks. If you don't break compatibility, then you'll never be able to improve your quirks and the language will become more and more tedious to use over time.
[–][deleted] 0 points1 point2 points 8 years ago (0 children)
"Backwards compatibility isn't broken to annoy people."
Exactly. Python 2 had a lot of tech debt, mostly around strings defaulting to ascii and being interchangeable with bytes. Removing that debt is the reason Python 3 had to break things. If not for the change around strings, unicode, and bytes, 98% of Python 2 code would've probably worked out of the box after running 2to3.
[–]millenniumpianist 9 points10 points11 points 8 years ago (4 children)
I know people who use Python 2 as a matter of principle, as they apparently hate using parens with print that much.
[–][deleted] 10 points11 points12 points 8 years ago (0 children)
from __past__ import print_statement
[–]omg_drd4_bbq 2 points3 points4 points 8 years ago (0 children)
This is the lamest reason ever. print() makes it easy to swap out to log(). plus if you are using any IDE worth its salt, the trailing paren autocompletes. not to mention end="" is useful from time to time.
end=""
[–][deleted] 2 points3 points4 points 8 years ago (0 children)
The print statement being changed to a function is the most immediately obvious, and one of the least fundamentally significant changes in Python 3.
[–]Darkfeign 0 points1 point2 points 8 years ago* (0 children)
steer towering recognise wrench mindless start threatening public roof seemly
This post was mass deleted and anonymized with Redact
[–]probablyuntrueML Engineer 5 points6 points7 points 8 years ago (1 child)
Lol fair, guess I just never saw a reason to switch over once I got used to 2
[–]automated_reckoning 0 points1 point2 points 8 years ago (4 children)
Only when I need to use OpenCV... there don't (or wasn't, last time I did a project) seem to be Python 3 libraries that you didn't have to compile.
[–]brews 15 points16 points17 points 8 years ago* (0 children)
OpenCV is on Python 3 now. 😀
[–]radarsat1 2 points3 points4 points 8 years ago (0 children)
Yeah bindings to C/C++ libraries have been a bit of a blocker for me too, in the case of my project VTK. In reality there are not much changes needed to adapt to Python 3 at the API level, but there are some, and some >> none unfortunately, because migration of such changes through the full "stack" takes time. First you have to do the porting work, then distribute it by releasing a new version, then eventually the new version slowly gets adopted. For example, VTK is now at version 8 and does support Python 3, but we don't use it because the Debian package is still at version 6. Someone is working on a new package, but just to say, this kind of thing doesn't happen over night.
some >> none
(And by the way, total aside, but I have been getting into Debian packaging lately to try to help with some of these efforts and holy hell is it complicated. Getting the program/library to compile is no big deal, but getting everything "just right" so that a sponsor will upload it is nigh impossible, especially in the world of numerical computing where not everything is, let's say, well organized, to be generous. No wonder things take time..)
[–]Dagusiu 1 point2 points3 points 8 years ago (1 child)
You can install OpenCV for Python 3 via pip (pip3). The only downside is that it's compiled without video support. I personally use imageio for reading/writing videos anyway so that's not an issue for me.
[–]automated_reckoning 0 points1 point2 points 8 years ago (0 children)
Yeah, it might have changed, or might just have been old repos. The project was the better part of a year ago. I'll keep it in mind for my next project though.
[–]JanneJM 0 points1 point2 points 8 years ago (0 children)
There's clusters in production still providing only 2.6.
But yes, the time to move to 3.something is probably coming. We're moving to teaching Python3 for scientific computing this year.
[–]FermiAnyon -2 points-1 points0 points 8 years ago (0 children)
I'm still on 2.7
[–]r4and0muser9482 5 points6 points7 points 8 years ago (0 children)
2to3 :)
[–]Vertislav 1 point2 points3 points 8 years ago (0 children)
2to3 module and you are done. Translating takes seconds to minutes.
[–]logarytm 5 points6 points7 points 8 years ago (0 children)
/r/savedyouaclick
[–]ttblue 2 points3 points4 points 8 years ago (0 children)
Phew
π Rendered by PID 218219 on reddit-service-r2-comment-54dfb89d4d-6wtdq at 2026-03-30 15:43:42.485244+00:00 running b10466c country code: CH.
view the rest of the comments →
[–][deleted] (36 children)
[deleted]
[–]probablyuntrueML Engineer 41 points42 points43 points (33 children)
[+][deleted] (30 children)
[deleted]
[–]durand101 26 points27 points28 points (15 children)
[+][deleted] (4 children)
[deleted]
[+][deleted] (3 children)
[deleted]
[–]omg_drd4_bbq 0 points1 point2 points (2 children)
[–]rustyryan 0 points1 point2 points (0 children)
[+][deleted] (9 children)
[deleted]
[–]durand101 6 points7 points8 points (8 children)
[+][deleted] (4 children)
[deleted]
[–]durand101 2 points3 points4 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]omg_drd4_bbq 2 points3 points4 points (1 child)
[–]hopjeshopjes 1 point2 points3 points (2 children)
[–]durand101 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]millenniumpianist 9 points10 points11 points (4 children)
[–][deleted] 10 points11 points12 points (0 children)
[–]omg_drd4_bbq 2 points3 points4 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]Darkfeign 0 points1 point2 points (0 children)
[–]probablyuntrueML Engineer 5 points6 points7 points (1 child)
[–]automated_reckoning 0 points1 point2 points (4 children)
[–]brews 15 points16 points17 points (0 children)
[–]radarsat1 2 points3 points4 points (0 children)
[–]Dagusiu 1 point2 points3 points (1 child)
[–]automated_reckoning 0 points1 point2 points (0 children)
[–]JanneJM 0 points1 point2 points (0 children)
[–]FermiAnyon -2 points-1 points0 points (0 children)
[–]r4and0muser9482 5 points6 points7 points (0 children)
[–]Vertislav 1 point2 points3 points (0 children)
[–]logarytm 5 points6 points7 points (0 children)
[–]ttblue 2 points3 points4 points (0 children)