On Sun, Jan 18, 2009 at 10:37 AM, David <[email protected]> wrote:
> Everything else works + - / but not *
> why?

> compute(sys.argv[1], sys.argv[2], sys.argv[3])

Because * is a special character to your shell. Probably your shell is
expanding the * to a list of files. Try printing sys.argv from within
your program, or quoting the * on the command line.

Kent
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to