


In order to access the PowerShell, simply use the following steps: In Windows 10, we can use the PowerShell to check the version of Python that we are running. How to Check Your Python Version on Windows 10 Over the following sections, you’ll learn how to check your Python version using Windows 10, Windows 7, macOS, and Linux. Because accessing the command line prompt or terminal varies from system to system, this part of the tutorial is split across the different operating systems available to you. To check the version that your Python interpreter is running we can use a version command on the python command. How to Check Your Python Version in a Script Using platform.How to Check Your Python Version in a Script Using sys.
