# sys modular
"""
1、 operation python Interpreter
"""
# Introduce modules
import sys
# Receiving parameters
"""
1、 adopt pycharm Of python console Or the command line of the system
2、 Usage mode python name.py a b c
python It's an interpreter
name.py It's the name of the file
abc Is the parameter
3、 It returns a list , The first value in the list is always the file
"""
print(sys.argv)
# Get the parameters in the following way
print(sys.argv[0])
# print(sys.argv[1])
# Exit procedure
# sys.exit(0)
# obtain python Speckles of the interpreter
print(sys.version)
# Return the search path of the module
print(sys.path)
# Add search path for module
sys.path.append(r'F:/python note /6、 modular /4、sys modular ')
# Return operating system platform name
print(sys.platform)