2020-04-20

Python - How to determine the default/active version on your profile

(1) Command-line method:

    python --version



(2) Code method:

    import sys
    print(sys.version)


No comments:

Post a Comment