Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #7403
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.linkpendium.com!news.linkpendium.com!panix!gordon |
|---|---|
| From | John Gordon <gordon@panix.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: Help with a piping error |
| Date | Fri, 10 Jun 2011 20:48:15 +0000 (UTC) |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Lines | 20 |
| Message-ID | <istvuf$bp1$1@reader1.panix.com> (permalink) |
| References | <6e035898-8938-4a61-91de-7a0ea7ead8ab@y30g2000yqb.googlegroups.com> |
| NNTP-Posting-Host | panix1.panix.com |
| X-Trace | reader1.panix.com 1307738895 12065 166.84.1.1 (10 Jun 2011 20:48:15 GMT) |
| X-Complaints-To | abuse@panix.com |
| NNTP-Posting-Date | Fri, 10 Jun 2011 20:48:15 +0000 (UTC) |
| User-Agent | nn/6.7.3 |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:7403 |
Show key headers only | View raw
In <6e035898-8938-4a61-91de-7a0ea7ead8ab@y30g2000yqb.googlegroups.com> virdo <virdoo@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
gordon@panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Help with a piping error virdo <virdoo@gmail.com> - 2011-06-10 13:42 -0700
Re: Help with a piping error John Gordon <gordon@panix.com> - 2011-06-10 20:48 +0000
Re: Help with a piping error virdo <virdoo@gmail.com> - 2011-06-10 13:56 -0700
Re: Help with a piping error Hans Mulder <hansmu@xs4all.nl> - 2011-06-10 23:56 +0200
Re: Help with a piping error virdo <virdoo@gmail.com> - 2011-06-10 15:34 -0700
csiph-web