DioseModel.py don't work.

13 views
Skip to first unread message

Zbigniew Jachimowicz

unread,
May 29, 2020, 11:59:51 AM5/29/20
to spyder
Hi
The author of the program gives the way to run it
DiodeModel.py [-h] [-c] [-p] [-IS IS] [-N N] [-RS RS] [-m MAXIT] [-n NPOINTS] [-s] [-f [FITFILE]] filename

These are program launch options and arguments: [-h] [-c] [-p] [-IS IS] [-N N] [-RS RS] [-m MAXIT] [-n NPOINTS] [-s] [-f [FITFILE]] filename

DiodeModel.py dioda.txt.

I'm trying to run a program with the "diode.txt" argument but I see the message "syntax error".
What is the cause of the error?

Best regards


DiodeModel.py

Jim Lareau

unread,
Jun 4, 2020, 11:01:04 PM6/4/20
to spyder
This is a vague question, since you did not provide any information concerning your operating environment.

Most command line invocations DO NOT automatically identify the program to be invoked from the file type. Try running the (python) program as follows:

python Diode Model.py dioda.txt

Regards, Jim
Reply all
Reply to author
Forward
0 new messages