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/… use this file:http://introcs.cs.princeton.edu/python/… 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/… use this file:http://introcs.cs.princeton.edu/python/… 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/… use this file:http://introcs.cs.princeton.edu/python/… 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.pyIusa.txt).Libraries:http://introcs.cs.princeton.edu/python/… 

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!