I’m trying to remotely guide a few people in my office toward Python, and the easiest way to do that seems to be showing them how these simple Python samples …
http://wiki.python.org/moin/SimplePrograms
… run in a sandbox like ideone.com.
All goes well until example eight (“Command line arguments, exception handling”).
I am seeing no way to send arguments to the ideone interpreter, and when I try to squeeze values through stdin, they appear to be ignored. Does anyone know how to do this? The ideone FAQ says nothing on the matter of arguments.
If not, is there another web-based Python interpreter that accepts stdin and args and might do the trick?
Thanks in advance. You guys are great.
An alternative is PythonAnywhere. There’s an instant demo, and you can log in to get space to store scripts, and a variety of shells.
When you’re logged in, you can start a bash shell, and run Python scripts from the command line with whatever arguments you want.