How do you do this in python?

George Yoshida ml at dynkin.com
Fri Nov 4 17:16:23 EST 2005


casioculture at gmail.com wrote:

> Pass your script to Perl via standard input:
> echo "print 'Hello, world'" | perl -

$ echo "print 'hello, world'" | python -
hello, world

Cheers,

-- 
george



More information about the Python-list mailing list