In <6e035898-8938-4a61-91de-7a0ea7ead...@y30g2000yqb.googlegroups.com> virdo <vir...@gmail.com> writes:
> My python file is simple print "test". I run it, it works no problem. > I pipe the output to a file "run > logfile" and that's the error I > get. This is with Windows Server 2008 (64 bit) using ActivePython > 2.7.1.4 (64 bit). Are you using an actual pipe symbol in your command? Your post title suggests you are, but your sample command uses the greater-than symbol. It's always best to include the actual command and the actual output rather than typing it by hand, specifically to avoid errors like this. Please repost a transcript of your real session. -- John Gordon A is for Amy, who fell down the stairs gor...@panix.com B is for Basil, assaulted by bears -- Edward Gorey, "The Gashlycrumb Tinies" -- http://mail.python.org/mailman/listinfo/python-list