.pyc from stdin?

2009-10-08 Thread Shay Telfer
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

Re: .pyc from stdin?

2009-10-08 Thread lallous
Hello Shay, Shay Telfer shaypyt...@earthyself.com wrote in message news:mailman.1021.1254988413.2807.python-l...@python.org... 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

Re: .pyc from stdin?

2009-10-08 Thread lallous
Hello Shay, Shay Telfer shaypyt...@earthyself.com wrote in message news:mailman.1021.1254988413.2807.python-l...@python.org... 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

Re: .pyc from stdin?

2009-10-08 Thread lallous
Hello Shay, Shay Telfer shaypyt...@earthyself.com wrote in message news:mailman.1021.1254988413.2807.python-l...@python.org... 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