Sunday, 10 September 2017

how to check python version at run time



Example:

import sys

print(sys.version)

Output:

3.6.2 (v3.6.2:5fd33b5, Jul  8 2017, 04:57:36) [MSC v.1900 64 bit (AMD64)]

No comments:

Post a Comment