jadrifter wrote:

It worked fine for me.  Don't forget to put quotes around the * sign or
the shell will substitute.

so:
./calc.py 2 '*' 9
or:
./calc.py 2 "*" 9
or:
./calc.py 2 \* 9
but not:
./calc.py 2 * 9

John Purser



Thanks Kent and jadrifter, that explains that!

Also thanks for the tips Angre :)

--
Powered by Gentoo GNU/LINUX
http://www.linuxcrazy.com
pgp.mit.edu

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to