![]() ![]() ![]() $ docker run -it -rm quay.io/python-devs/ci-image:master You can also inspect sys.implementation for more information: You’ll usually see which version of Python you’re using when you start a REPL. However, there are other implementations like PyPy, IronPython, Jython, MicroPython, and CircuitPython that cover specific use cases. CPython is the reference implementation of Python and the one that is most commonly used. An implementation of Python contains an interpreter and corresponding libraries. Implementations: Python is a language that has several implementations. To preview and test new features, users have access to development versions labeled alpha, beta, and release candidate. At the time of this writing, Python 3.9 was under development. Similarly, assignment expressions only became available in Python 3.8.ĭevelopment versions: The Python community is continuously working on new versions of Python. ![]() For instance, f-strings were introduced in Python 3.6 and won’t work in older versions of Python. ![]() Each of these versions adds new features, so it’s good to be conscious of which version you’re running. Released versions: Typically, you’ll be running something like Python 3.6, 3.7, or 3.8. In general, there are three different kinds of versions you should be aware of: Still, it’s important that going forward, you know about the different versions of Python and how to try them out. The long journey of moving from Python 2 to Python 3 is coming to a close. Free Download: Get a sample chapter from Python Tricks: The Book that shows you Python’s best practices with simple examples you can apply instantly to write more beautiful + Pythonic code. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |