当前位置:首页 > 云计算 > 正文内容

如何使用python自带的idle

2022-05-04 03:06:53云计算2

一、在电脑上安装好python开发环境后,打开搜索框,输入cmd,回车。当打开cmd命令框后,输入python ,就可以开始美妙的python之旅了。

Type"help","copyright","credits"or"license"formoreinformation.
>>>importthis
TheZenofPython,byTimPeters

Beautifulisbetterthanugly.
Explicitisbetterthanimplicit.
Simpleisbetterthancomplex.
Complexisbetterthancomplicated.
Flatisbetterthannested.
Sparseisbetterthandense.
Readabilitycounts.
Specialcasesaren'tspecialenoughtobreaktherules.
Althoughpracticalitybeatspurity.
Errorsshouldneverpasssilently.
Unlessexplicitlysilenced.
Inthefaceofambiguity,refusethetemptationtoguess.
Thereshouldbeone--andpreferablyonlyone--obviouswaytodoit.
Althoughthatwaymaynotbeobviousatfirstunlessyou'reDutch.
Nowisbetterthannever.
Althoughneverisoftenbetterthan*right*now.
Iftheimplementationishardtoexplain,it'sabadidea.
Iftheimplementationiseasytoexplain,itmaybeagoodidea.
Namespacesareonehonkinggreatidea--let'sdomoreofthose!
>>>

python学习网,免费的python学习网站,欢迎在线学习!

二、同理,安装好python开发环境,打开搜索框,输入IDLE,回车,打开此应用,同样开启美妙的python之旅。

本网站文章仅供交流学习 ,不作为商用, 版权归属原作者,部分文章推送时未能及时与原作者取得联系,若来源标注错误或侵犯到您的权益烦请告知,我们将立即删除.

本文链接:https://www.xibujisuan.cn/6643.html

标签: Python