By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,510 Members | 1,141 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,510 IT Pros & Developers. It's quick & easy.

raw_input / console I/O question

P: n/a
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
Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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.

-- ================================================== ============ <
wl*****@ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG <
wu******@dm.net | Bestiaria Support Staff <
================================================== ============ <
Bestiaria Home Page: http://www.beastie.dm.net/ <
Home Page: http://www.dm.net/~wulfraed/ <


Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.