First time here? Check out the FAQ!

Revision history  [back]

Problem with stdin in python script (macOS)

Hi,

I have problem with this script in WingIDE:

http://introcs.cs.princeton.edu/python/15inout/plotfilter.pyI use this file:http://introcs.cs.princeton.edu/python/15inout/usa.txt as "Run arguments" in "Launch configurations" (< usa.txt).

Libraries:

http://introcs.cs.princeton.edu/python/code/stdio.py
http://introcs.cs.princeton.edu/python/code/stddraw.pyI

run this file, but nothing happens.

If I run this file in Geany - it works.It works in Terminal too (python plotfilter.py < usa.txt)

Is it my mistake or bug in WingIDE?

Thanks!

Problem with stdin in python script (macOS)

Hi,

I have problem with this script in WingIDE:

http://introcs.cs.princeton.edu/python/15inout/plotfilter.pyI use this file:http://introcs.cs.princeton.edu/python/15inout/usa.txt as "Run arguments" in "Launch configurations" (< usa.txt).

Libraries:

http://introcs.cs.princeton.edu/python/code/stdio.py
http://introcs.cs.princeton.edu/python/code/stddraw.pyI

run this file, but nothing happens.

If I run this file in Geany - it works.It works in Terminal too (python plotfilter.py < usa.txt)

Is it my mistake or bug in WingIDE?

Thanks!

Problem with stdin in python script (macOS)

Hi,

I Hi,I have problem with this script in WingIDE:

http://introcs.cs.princeton.edu/python/15inout/plotfilter.pyI WingIDE:http://introcs.cs.princeton.edu/python/15inout/plotfilter.pyI use this file:http://introcs.cs.princeton.edu/python/15inout/usa.txt as "Run arguments" in "Launch configurations" (< usa.txt).

Libraries:

http://introcs.cs.princeton.edu/python/code/stdio.py
http://introcs.cs.princeton.edu/python/code/stddraw.pyI

usa.txt).Libraries:http://introcs.cs.princeton.edu/python/code/stdio.pyhttp://introcs.cs.princeton.edu/python/code/stddraw.pyI run this file, but nothing happens.

If happens.If I run this file in Geany - it works.It works in Terminal too (python plotfilter.py < usa.txt)

Is usa.txt)Is it my mistake or bug in WingIDE?

Thanks!WingIDE?Thanks!