python
Check python version on Mac and Windows
python -V
Output
shows installed python version on your system
If you want to check the python version installed on your system you can simply run this command inside the terminal or cmd window. This will output the version of python inside the terminal.
Note: 'V' will always be written in capital form when writing command.
Was this helpful?
Similar Posts
- Python check NaN values with and without using packages
- Create pandas DataFrame and add columns and rows to it
- [Python] The get() method on Python dicts and its "default" arg
- Python - String , Check If Word Is In string
- Check if a key exist in a dictionary Python
- Check if given value is a number or integer in python
- Check if two lists are similar in Python