mopalocker.blogg.se

Current version of python
Current version of python













current version of python

But you cannot execute code written in Python 2.7.4 in Python 3.7.2 because they are different major versions. Different minor versions are compatible.įor example, you can execute code written in Python 3.6.4 in Python 3.7.2 because they are the same major version - Python 3. Different major versions are NOT fully compatible. The Python version output consists of three numbers major:minor:micro.

current version of python

  • MacOS: Hit shortcut Cmd+Space, type terminal, hit OK.
  • current version of python

  • Windows: Hit shortcut Win+R, type powershell, hit OK.
  • How to open your command line or terminal? The table shows you how different environments call for different commands to check your Python version. Open terminal and run python -V or python ‐‐version Open command line and run python -V or python ‐‐version This general method works across all major operating systems (Windows, Linux, and macOS). Join my email academy and download your free Python cheat sheets about various topics such as keywords, object-orientation, NumPy, and data structures.ĭownload your FREE Python cheat sheets and print them to your office wall (link to my email academy signup page on this blog)! Environments Fortunately, I found a simple and effective (and free) way to improve my Python skills.Īnd so can you: learning with cheat sheets. If you’re like me ten years ago, you need to Google important Python commands again and again.















    Current version of python