I am calling a shell script file through a python command.
Filename1 is a variable I have created in my standalone python program storing the actual value of filename. How do I write it to execute the 2nd statement below as
Filename variable doesn't work here. If I keep the actual filename, the shell script file gets executed through second statement.
I need to automate this and cannot hardcode the actual filename. Thus, I want if by any chance the variable can be accessed in 2nd statement.
import os os.system('sh uploadPDFContentFile.sh Filename1')