Unable to give user login to PyDev console on Eclipse using Jython

I tried to debug the jython program for a long time when I was working in Eclipse using the PyDev plugin, but it worked as soon as I started it from the terminal. I suspected it might be that user input did not work on the Eclipse console, so I tried to run the most basic input program for jython that I could think of

name = raw_input("What is your name? ")
print "Hello %s" % (name)

When it starts, exits

What is your name? 

and when I type the console, the usual green text appears, but when it gets into it nothing happens. How can I get a console to feed input back to the process?

EDIT: the input is fed into the program when you click Terminate, so it gives

Hello name

, PyDev, java- java

0
1

( ).

, , , :

  • jython ?

  • - ?

  • Eclipse?

  • ? (: F9 )

0

All Articles