Python Version แสดงบน Console ทันทีเมื่อเริ่ม Interpreter จาก Command Line
C:\Users\acer>python
Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 18:41:36) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
Version Information อยู่ใน Attribute version ที่ Define ใน Module sys
>> import sys
>>> sys.version
'3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 18:41:36) [MSC v.1900 64 bit (AMD64)]'
Attribute อีกตัว version_info รายละเอียดมากกว่า ให้ Major, Minor และ Micro Version Levels
>> import sys
>>> sys.version_info
sys.version_info(major=3, minor=6, micro=1, releaselevel='final', serial=0)
ยังมี Attribute hexversion ให้ Unique Number ที่เชื่อมโยงกับ Version หากแปลงด้วย hex() จะบ่งชี้ Version
>> sys.hexversion
50725360
>>> hex(50725360)
'0x30601f0'