简体   繁体   中英

Anaconda prompt, running same script multiple times

Firstly, I have very limited experience with programming. So please bear with me.

I am using a custom software, called deformcyto , made for my lab which can only be started via anaconda prompt. I need to call the same program multiple times but with different inputs. Can I write a python script which would keep calling the program with new arguments?

Thanks for any pointers!

You can try something like this , if your program is an executable.

os.system(r"C:\youdir\..\yourprogram.exe")

You can also write a bash script or a powershell script and start the program multiple times with different arguments.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM