Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #20365

Re: Strange Behavior on Python 3 Windows Command Line

References <f676490c-e98f-4e0b-8c45-ff0748ff877b@m24g2000yqb.googlegroups.com> <CAJ6cK1YTRKXeTwHO_mjzdEK6__iLQn3MG4xVz+AK98r+b0OA8Q@mail.gmail.com>
From Waylan Limberg <waylan@gmail.com>
Date 2012-02-13 15:47 -0500
Subject Re: Strange Behavior on Python 3 Windows Command Line
Newsgroups comp.lang.python
Message-ID <mailman.5776.1329166079.27778.python-list@python.org> (permalink)

Show all headers | View raw


On Mon, Feb 13, 2012 at 3:16 PM, Arnaud Delobelle <arnodel@gmail.com> wrote:
>> Strangely it was working fine the other day. Then while debugging a
>> script it suddenly started do this and now does this for every script
>
> How were you debugging?

I think I may have been attempting to use pipes to redirect stdin
and/or stdout when the problem first presented itself.  Unfortunately,
once I closed the window, I lost whatever pipe combination I had
tried.

It just occurred to me that I was unsure if I had been doing that pipe
correctly, and that maybe I overwrote python.exe. Sure enough, the
modify date on that file indicated I overwrote it. A re-install has
resolved the problem.

It's just a little embarrassing that I didn't think of that until now,
but the fact that everything else seems to work was throwing me off.
Of course, everything else was running `pythonw.exe` not `python.exe`.

Anyway, thanks for the pointer Arnaud.

-- 
----
\X/ /-\ `/ |_ /-\ |\|
Waylan Limberg

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Strange Behavior on Python 3 Windows Command Line waylan <waylan@gmail.com> - 2012-02-13 11:50 -0800
  Re: Strange Behavior on Python 3 Windows Command Line Arnaud Delobelle <arnodel@gmail.com> - 2012-02-13 20:16 +0000
  Re: Strange Behavior on Python 3 Windows Command Line Waylan Limberg <waylan@gmail.com> - 2012-02-13 15:47 -0500

csiph-web