I usually run "pymol -c myscript.py". Now I want to pass an argument to
myscript.py. 

 

Normally I can use "sys.argv" when run python script as "python myscript.py
argument1 argument2 ...". But when I tried "pymol -c myscript.py argument1
argument2 ..." it did not work. So what's the correct way to pass arguments?

 

Thank you vey much.

Michael

_______________________________________________
PyMOL-users mailing list
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Unsubscribe: 
https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe

Reply via email to