python - Unable to provide user input in PyDev console on Eclipse with Jython -
i trying debug jython program long time running in eclipse using pydev plugin, worked once ran terminal instead. suspected might user input wasn't working on eclipse console, tried running basic input program jython think of
name = raw_input("what name? ") print "hello %s" % (name)
when runs outputs
what name?
and when type in console, normal green text appears, upon hitting enter, nothing happens. how can console feed input process?
edit: input fed program upon pressing terminate, outputs
hello name
also, happening when using pydev, input works fine when running java code in java perspective
this strange (and works me).
so, identify what's happening, need more info:
what's jython version you're using?
do have in error log?
what's eclipse version?
how doing run? (hint: pressing f9 should enough)
Comments
Post a Comment