REH wrote:

> Hello All,
> 
> Using the Mac Leopard NATIVE installation of the Python 2.5
> interpreter, called out of the Terminal UNIX command line (i.e. NOT
> through the X-code machinery), is it possible to pipe or pass in a
> text file containing Python code?  Or is this literally a type-as-you-
> go-only interpreter?

You can certainly pipe to python on Mac OS X:

$ echo "print 'Hi there!'" | python
Hi there!

Or were you referring to something more elaborate?

Dave

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to