On Dec 31, 6:48 pm, Bart Nagel <b...@tremby.net> wrote: > At 2011-12-31 15:43:36 -0800, Chris Kavanagh wrote: > > > Ok, I CAN start the Python Interpreter from the command line by just > > typing "python" then "enter". > > > I saved the file "args.py" in the Python Scripts folder. When I try to > > run it from command prompt, I get the message "python: can't open > > file 'args.py': [Errno 2] No such file or directory". > > > The only way I CAN get it to open, is to change (cd into) into the > > python scripts folder (where I saved args.py) then run it (type > > "python args.py" in command prompt). So, obviously something is wrong. > > No, that's not wrong, that's how it should be. The python interpreter > is in your path, but you're telling the interpreter which file to run. > If you tell it to run a file args.py and there is no such file in the > current directory, it's correct to give you an error message. > > Does this little script tell you correctly the number of arguments you > pass to it? > > --bart
Yes, it tells me the number of args. BTW, thanks for the patience. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.