Hacker News new | past | comments | ask | show | jobs | submit login

Anyone know what version of Python is this in? It's hard to tell since it's not mentioned in the book. Try doing import sys on the example frames doesn't work either. Trying to see if it aligns with the version some of us use at work.



It's Skulpt[0] -- JavaScript implementation of Python.

[0]https://github.com/skulpt/skulpt


I believe it is Python 2.7. But I could be wrong.


Even if it is, it follows conventions compatible with 3.x, e.g. using parentheses with print statements.

Also, in the "Review of Basic Python" chapter, it explicitly links to the official Python 3 docs: http://interactivepython.org/runestone/static/pythonds/Intro...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: