[Tutor] [tutor] run a program and direct it's print file to a file?

Kent Johnson kent37 at tds.net
Sat Oct 25 15:28:24 CEST 2008

On Sat, Oct 25, 2008 at 7:56 AM, Fast Primes <fast_primes at hotmail.com> wrote:
> Hi,
> I'm very rusty. From a linux box, I want to run a program X.py after or while setting it's list output to a file L.txt.

python X.py > L.txt

or if X.py is executable and has the correct shebang line
X.py > L.txt


More information about the Tutor mailing list