Pages

Subscribe:

Ads 468x60px

Sunday, December 11, 2022

how to print python version information

 we can check which version of python we are currently using. for this we can use print method by importing print library from console.

here is the print method code to print the version information.

import sys
print("Python version")
print (sys.version)

print("Version information.")
print (sys.version_info)

No comments:

Post a Comment