raw_input / console I/O question

H

Hugh

I am using python 2.3 through the PythonWin program on windows. I
would like to create a console-based interactive session. The program
raw_input is almost exactly what I'd like, except that whenever I call
raw_input(), it pops up a window on my screen. I'd much rather have
it read from the interactive window.

Is there something out there, as easy as raw_input(), that I can use?

Thanks for any clues!

-Hugh
 
D

Dennis Lee Bieber

Hugh fed this fish to the penguins on Monday 08 December 2003 08:22 am:
I am using python 2.3 through the PythonWin program on windows. I
would like to create a console-based interactive session. The program

I'd suggest that you then run the program /from/ a console (command
shell or whatever M$ calls it).
raw_input is almost exactly what I'd like, except that whenever I call
raw_input(), it pops up a window on my screen. I'd much rather have
it read from the interactive window.
PythonWin isn't a "console" -- it's a text area in a graphical
interface, and not connected to "stdin".
Is there something out there, as easy as raw_input(), that I can use?
As stated, don't /run/ from PythonWin... Do the editing, save the file
(don't need to exit PythonWin, just save), and invoke it from a command
console.

--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,539
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top