Using sys for System-specific Parameters and Functions in Python


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

Source Code

import sys
# Command line arguments
print(sys.argv)
# Python version information
print(sys.version)
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments