The sys Module for System-specific Information in Python


Access system-specific parameters and functions using the sys module.

Source Code

import sys
print(sys.version)  # Python version
print(sys.platform)  # Platform identifier
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments