Home > Article > Backend Development > Introduction to python3-sys module
Python3-sys module introduction, friends in need can refer to it
# Auther: Aaron Fan
import sys
print(sys.path ) #Print environmentVariables
print(sys.argv) #Print the script name and all parameters of the script
print(sys.argv[2]) #Print the second number followed by the script parameters
The above is the detailed content of Introduction to python3-sys module. For more information, please follow other related articles on the PHP Chinese website!