0

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!

Jagrut Sharma
  • 4,574
  • 3
  • 14
  • 19

1 Answers1

0

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.

AndrejH
  • 2,028
  • 1
  • 11
  • 23
  • May be helpful to use string substitution in your example. `os.system("deformcyto %s" % imageOfCellsOne)` – J'e Apr 30 '18 at 12:01