Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
reilly3000
on Sept 9, 2019
|
parent
|
context
|
favorite
| on:
Sunsetting Python 2
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.
tibbon
on Sept 9, 2019
[–]
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: