Resources
Answers
Examples
Sign in
Get Started
What do you want to save?
Add Code snippet
New code examples
Python
2021-09-05 21:52:03
how to know the version of python
Step 1: Type Command Prompt on search icon near the windows icon Step 2: On Command Prompt Execute the below command Step 3: python --version
Add solution
Shell/Bash
2021-08-28 23:06:03
how to check python version
# To check your Python version in the command line use: python --version # To check your Python verson inside a script use: import sys print(sys.version)
Add solution
Shell/Bash
2021-08-28 17:19:01
choco install python
choco install python --pre (For the latest prerelease) choco install python --version=3.8.0 (For version 3.8.0, follow that syntax to install any version)
Add solution
Shell/Bash
2021-08-26 11:02:03
linux set python 3 as default
1. Check current version: $ python --version 2. get root permissions: $ sudo su 3. set python3 as default: $ update-alternatives --install /usr/bin/python python /usr/bin/python3 1 4. Done. (Check by $ python --version)
Add solution
‹
1
2
3
›
Best helpers
daily
weekly
monthly
for 3 months
Ranking is empty
This website uses cookies to make IQCode work for you. By using this site, you agree to our
cookie policy
Welcome Back!
Sign up to unlock all of IQCode features:
Test your skills and track progress
Engage in comprehensive interactive courses
Commit to daily skill-enhancing challenges
Solve practical, real-world issues
Share your insights and learnings
Sign in
E-mail
Password
Recover lost password
Log in
Or log in with
Not registered?
Sign up takes less than a minute
Create a Free Account
Sign up to unlock all of IQCode features:
Test your skills and track progress
Engage in comprehensive interactive courses
Commit to daily skill-enhancing challenges
Solve practical, real-world issues
Share your insights and learnings
Sign up
Email
Password
Sign up for free
Or sign up with
By signing up, you agree to the
Terms and Conditions
and
Privacy Policy
. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.