raw_input的替代方案? [英] Alternative to raw_input ?
问题描述
我需要类似按任意键继续的内容。我的程序的代码。
目前我使用:raw_input(按Enter键继续)但它很蹩脚。
I need something like "Press any key to continue" code for my program.
Currently I use : raw_input("Press Enter to continue ") but it''s lame.
推荐答案
2005年2月11日星期五17:26:04 +0100,BOOGIEMAN< BO ********* @ yahoo.com>写道:
On Fri, 11 Feb 2005 17:26:04 +0100, BOOGIEMAN <BO*********@yahoo.com> wrote:
我需要类似按任意键继续的内容。我的程序的代码。
目前我使用:raw_input(按Enter键继续)但它很蹩脚。
I need something like "Press any key to continue" code for my program.
Currently I use : raw_input("Press Enter to continue ") but it''s lame.
错误,为什么?
-
干杯,
Simon B,
si *** @ brunningonline.net ,
http://www.brunningonline.net/simon/blog/
2005年2月11日星期五16:35:19 + 0000,Simon Brunning写道:
On Fri, 11 Feb 2005 16:35:19 +0000, Simon Brunning wrote:
呃,为什么?
看起来很丑陋。我想在没有ENTER的情况下按任意键
继续
It looks to ugly this way. I want to press
any key without ENTER to continue
2005-02-11,BOOGIEMAN< BO ****** ***@YAHOO.COM>写道:
On 2005-02-11, BOOGIEMAN <BO*********@YAHOO.COM> wrote:
2005年2月11日星期五16:35:19 +0000,Simon Brunning写道:
On Fri, 11 Feb 2005 16:35:19 +0000, Simon Brunning wrote:
呃,为什么?
任意键,不用ENTER继续
It looks to ugly this way. I want to press
any key without ENTER to continue
就像有人已经说过:使用WConio模块。
有人已发布链接。
我建议你去看看。
-
格兰特爱德华兹格兰特哇! ... MYSTERIANS
at at here with this
visi.com CORDUROY SOAP DISH !!
Like somebody already said: use the WConio module.
Somebody already posted a link.
I suggest you go look at it.
--
Grant Edwards grante Yow! ... the MYSTERIANS
at are in here with my
visi.com CORDUROY SOAP DISH!!
这篇关于raw_input的替代方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!