Message8450
The following examples show that everything works from scripts. This is a REPL problem.
H:\user\python\jytest>type test1.py
line = raw_input('Prompt? ')
print repr(line)
H:\user\python\jytest>java -jar jython.jar test1.py
Prompt? My text.
'My text.'
H:\user\python\jytest>type test2.py
import sys
sys.stdout.write('Prompt? ')
sys.stdout.flush()
line = sys.stdin.readline()
sys.stdout.write(repr(line))
sys.stdout.write('\n')
H:\user\python\jytest>java -jar jython.jar test2.py
Prompt? My text.
'My text.\n'
H:\user\python\jytest> |
|
Date |
User |
Action |
Args |
2014-05-20 19:22:21 | emcdowell | set | messageid: <1400613741.96.0.567813804001.issue2152@psf.upfronthosting.co.za> |
2014-05-20 19:22:21 | emcdowell | set | recipients:
+ emcdowell |
2014-05-20 19:22:21 | emcdowell | link | issue2152 messages |
2014-05-20 19:22:21 | emcdowell | create | |
|