[IronPython] no input display with 'raw_input()'

Dino Viehland dinov at exchange.microsoft.com
Wed May 14 18:18:33 CEST 2008


Can you give us more info about what version and where you're running?  This works for me on both 1.1.1 and 2.0B2:

IronPython 1.1.1 (1.1.1) on .NET 2.0.50727.1434
Copyright (c) Microsoft Corporation. All rights reserved.
>>> raw_input("Foo: ")
Foo: abc
'abc'
>>>
>>> ^Z

 9:17:50.94
C:\Product\4\Merlin\Main > C:\Product\Released\IronPython-2.0B2\ipy.exe
IronPython 2.0 Beta (2.0.0.2000) on .NET 2.0.50727.1434
Copyright (c) Microsoft Corporation. All rights reserved.
>>> raw_input("Foo: ")
Foo: abc
'abc'
>>>




-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Ben Aurel
Sent: Wednesday, May 14, 2008 5:07 AM
To: IronPython
Subject: [IronPython] no input display with 'raw_input()'

hi

Using the following statement in CPython:
   fname = raw_input('Enter filename: ')

I can see what I'm typing.
 >>> Enter filename: MyTextFi...

This is not the case with the same code on IronPython. It doesn't show
me my input while typing.

Thanks
Ben
_______________________________________________
Users mailing list
Users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com




More information about the Ironpython-users mailing list