How to get the run command in log file in Python ?
I had run the below command in command line and want to print the same command in log file so i can use that command from log file and can run it again.
Example: python checkcelllist -c celllist -s ronak.lib
it should print above command in log file.
python checkcelllist -c celllist -s ronak.lib