Advertisement
mayankjoin3

python version check

Sep 10th, 2022
1,070
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. from platform import python_version
  2. print(python_version())
  3. ver = python_version()
  4. if ver == "3.8.10":
  5.     print("Correct Version Installed")
  6. else:
  7.     print("Please install 3.8.10. Instruction are present in the GitHub Repo/Webmail")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement