kragen at dnaco.net
Tue Oct 16 22:34:41 CEST 2001
In article <9qi4r2$gpq$1 at nserve1.acs.ucalgary.ca>,
Michael Yuen <myuen at acs2.acs.ucalgary.ca> wrote:
>I'm just in the process of learning Python right now and i'm wondering if
>there's a way run a program to take a file via directed input and
>sending output to another file via the command line.
>Here's what I mean:
>myprogram.py < my_input > my_output
I assume you're on Unix? The above should work fine.
<kragen at pobox.com> Kragen Sitaker <http://www.pobox.com/~kragen/>
Perilous to all of us are the devices of an art deeper than we possess
-- Gandalf the White [J.R.R. Tolkien, "The Two Towers", Bk 3, Ch. XI]
More information about the Python-list