[Tutor] Equivalent to perl -e
Chris Lasher
chris.lasher at gmail.com
Mon Oct 16 02:44:11 CEST 2006
My professor and advisor has been "inspired" by me to give Python a
try. He's an avid Perl user, and challenged me with the following:
What is the Python equivalent to perl -e '<some oneliner>'?
Embarassingly, I had no answer, but I figure, someone on the list will
know. His use of Python is at stake; he threatened that, since he's
dependant enough on using perl -e within Emacs enough, if it can't be
done in Python, he won't take the language seriously. Help me, Python
Tutor, you're his only hope!
Thanks in advance,
Chris
More information about the Tutor
mailing list