hi, i have made an import file, but he does not seems to accept something.
I have made a screenshot.
Can you help me further, why he does not run further ?
Thanks
hi, i have made an import file, but he does not seems to accept something.
I have made a screenshot.
Can you help me further, why he does not run further ?
Thanks
Notice that when this script is run just with
python Ex13.py
command line arguments list - argv
will contain just single element - script name. In such situation argv
cannot be unpacked to four variables, as if there were passed four command line arguments.
how do i make that argv has 4 elements instead of just 1 ?
The answer might sound slightly obvious, but you add additional arguments when you run the script.
I think you should run the file like this:
python Ex13.py first_arg second_arg third_arg
thanks guys for the help. I (finaly) found it.
I gave in Ex13.py first second third in the powershell and it worked out well.