Hi...

It seems that python will accept a .py file piped from stdin, but not a .pyc file (and there don't seem to be any flags to allow this). Am I missing something?

Eg

cat blah.py | python

works, but

cat blah.pyc | python

doesn't. (If you're wondering why anyone would do this it's because I'm actually intending to use curl rather than cat :)

Thanks,
Shay
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to