Python script receives parameters

sys.argv[0] returns the script path (returns the file name in the shall script)
sys.argv[1] first argument

sys.argv[2]

sys.argv[3]

 

 

Guess you like

Origin blog.csdn.net/MasterD56/article/details/108405344