测试IDLE是否是成熟程序 [英] Test if IDLE is a mature program

查看:72
本文介绍了测试IDLE是否是成熟程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

###这将测试你的Windows上的IDLE版本是否为MATURE程序

design ###


print" Hello world,如果Python IDLE是一个成熟的程序设计它会输出这个


将这个简单的单行程序保存为select.py并尝试运行它。


然后退出IDLE并尝试重新启动IDLE。


Aubrey

### this will test if your version of IDLE on windows is a MATURE program
design ###

print "Hello world, If Python IDLE is a mature program design it will
output this"

Save this simple single line program as "select.py" and try to run it.

Then exit IDLE and try to restart IDLE.

Aubrey

推荐答案

2003年12月30日星期二21:20:09 -0500,谣言说Aubrey Hutchison

< ab ***** @ comcast.net>可能写得:
On Tue, 30 Dec 2003 21:20:09 -0500, rumours say that "Aubrey Hutchison"
<ab*****@comcast.net> might have written:
###这将测试你的Windows上的IDLE版本是否为MATURE程序
设计###

打印Hello world,如果Python IDLE是一个成熟的程序设计,它将输出这个

将这个简单的单行程序保存为select.py。然后尝试运行它。

然后退出IDLE并尝试重新启动IDLE。
### this will test if your version of IDLE on windows is a MATURE program
design ###

print "Hello world, If Python IDLE is a mature program design it will
output this"

Save this simple single line program as "select.py" and try to run it.

Then exit IDLE and try to restart IDLE.




您可能会尝试将模块重命名为非模块IDLE本身导入的标准

库模块...... ;-)

-

TZOTZIOY,我说英格兰最好,

Ils sont fous ces Redmontains! --Harddix



You might try renaming your module to something that is not a standard
library module imported by IDLE itself... ;-)
--
TZOTZIOY, I speak England very best,
Ils sont fous ces Redmontains! --Harddix


在他们有成熟的汽车设计之前的大日子里,你需要把b
搞得一塌糊涂,然后修补它来制造它工作。


如果是成熟的设计,为什么我们需要对IDLE进行修补?那里

永远不需要特殊名称的程序文件才能工作

否则需要修补。


Aubrey

" Christos TZOTZIOY Georgiou" < TZ ** @ sil-tec.gr>在消息中写道

news:7t ******************************** @ 4ax.com ...
In older days before they had mature designs for automobiles you needed to
get under the hood and tinker with it to make it work.

Why do we need to do some tinkering with IDLE if is a mature design? There
should never be a need for special names of program files for it to work
otherwise it requires tinkering.

Aubrey
"Christos TZOTZIOY Georgiou" <tz**@sil-tec.gr> wrote in message
news:7t********************************@4ax.com...
2003年12月30日星期二21:20:09 -0500,谣言说Aubrey Hutchison
< ab ***** @ comcast.net>可能写得:
On Tue, 30 Dec 2003 21:20:09 -0500, rumours say that "Aubrey Hutchison"
<ab*****@comcast.net> might have written:
###这将测试你的Windows上的IDLE版本是否为MATURE程序
设计###

打印Hello world,如果Python IDLE是一个成熟的程序设计,它将输出这个

将这个简单的单行程序保存为select.py。然后尝试运行它。

然后退出IDLE并尝试重新启动IDLE。
### this will test if your version of IDLE on windows is a MATURE program
design ###

print "Hello world, If Python IDLE is a mature program design it will
output this"

Save this simple single line program as "select.py" and try to run it.

Then exit IDLE and try to restart IDLE.



您可能会尝试将模块重命名为非标准模块IDLE本身导入的库模块... ;-)
-
TZOTZIOY,我说英格兰最好,
Ils sont fous ces Redmontains! --Harddix



You might try renaming your module to something that is not a standard
library module imported by IDLE itself... ;-)
--
TZOTZIOY, I speak England very best,
Ils sont fous ces Redmontains! --Harddix



2003年12月31日星期三09:48:07 -0500,Aubrey Hutchison

< ; AB ***** @ comcast.net>写道:
On Wed, 31 Dec 2003 09:48:07 -0500, "Aubrey Hutchison"
<ab*****@comcast.net> wrote:
如果是成熟的设计,为什么我们需要对IDLE进行一些修补?
应该永远不需要程序文件的特殊名称才能工作
否则需要修改。
Why do we need to do some tinkering with IDLE if is a mature design? There
should never be a need for special names of program files for it to work
otherwise it requires tinkering.




如果你使用任何开发工具创建一个名为msvcrt.dll的DLL

并将其保存在错误的地方然后尝试运行你的系统

会发现很多问题。这是否意味着那里没有成熟的开发工具?也许按你的定义

成熟。但是再次使用你的比喻,如果我把柴油放在我的车里

,当它设计用无铅汽油时,它不会工作。

开发工具的用户应该知道一些基础知识,汽车用户

预计会知道使用什么燃料....


如果你将select.py保存在Python / IDLE不会的地方
找它然后就可以了但是如果你更换系统文件那么

当然它不会工作。这不是Python或IDLE的错。



If you use any development tool to create a DLL called msvcrt.dll
and save it in the wrong place then try to run your system you
will find quite a few problems. Does that mean there are no
mature development tools out there? Maybe by your definition of
mature. But again to use your analogy if I put diesel in my car
when its designed to run on unleaded gas it won''t work. Users of
development tools are expected to know some basics, users of cars
are expected to know what fuel to use....

If you save your select.py in a place where Python/IDLE won''t
look for it then its OK but if you replace a system file then of
course it won''t work. That''s not Python or IDLE''s fault.

将这个简单的单行程序保存为 select.py"然后尝试运行它。

然后退出IDLE并尝试重新启动IDLE。
Save this simple single line program as "select.py" and try to run it.

Then exit IDLE and try to restart IDLE.



您可能会尝试将模块重命名为非标准模块IDLE本身导入的库模块...; - )



You might try renaming your module to something that is not a standard
library module imported by IDLE itself... ;-)




Alan G.

学习的作者计划网站
http://www.freenetpages.co。 uk / hp / alan.gauld


这篇关于测试IDLE是否是成熟程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆