40 ms·
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
by Avaclon 10y ago
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.
- joeclef 10y agoI believe it is Python 2.7. But I could be wrong.
- danso 10y agoEven 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/Introduction/ReviewofBasicPython.html http://interactivepython.org/runestone/static/pythonds/Intro...
- jumasheff 10y agoIt's Skulpt[0] -- JavaScript implementation of Python. [0]https://github.com/skulpt/skulpt https://github.com/skulpt/skulpt