Python Sys Module
The Sys Module can access the command line arguments and the os module can access the location of the script as shown in the below code. If you are going to work with command line arguments with a Python program, you probably want to use the sys argv list in your program. The sys module …