Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in Python by (19k points)

I have to run a Python script on a Windows server. How can I know which version of Python I have, and does it even really matter? I was thinking of updating to the latest version of Python.

1 Answer

0 votes
by (106k points)

There are many ways to check the version of Python that you have installed I am mentioning here some of the easiest methods:-

The first thing you can do is write the below-mentioned command which will tell you the Python version that you have installed:-

python -V

If you want to use the Python IDE then you can use the following piece of code:-

import sys



Related questions

0 votes
1 answer
0 votes
1 answer
asked Apr 5, 2020 in BI by Vaibhav Ameta (17.6k points)
Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers


94.2k users

Browse Categories