Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If not otherwise specified, I just look for a `print` command and see if its formatted as print 'my string' indicating Python 2 or print('my string') indicating Python 3.


Yea, that's what I've come around to. Thanks for confirming that's a good path.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: