Directed input

Kragen Sitaker kragen at
Tue Oct 16 22:34:41 CEST 2001

In article <9qi4r2$gpq$1 at>,
Michael Yuen <myuen at> 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:
> < my_input > my_output

I assume you're on Unix?  The above should work fine.
<kragen at>       Kragen Sitaker     <>
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 mailing list