1.åpythonç¨ä»ä¹è½¯ä»¶å¥½(åpythonç¨ä»ä¹ide)
åpythonç¨ä»ä¹è½¯ä»¶å¥½(åpythonç¨ä»ä¹ide)
æ°æå¦pythonç¨ä»ä¹è½¯ä»¶
æ°æå¦pythonç¨ç软件å¦ä¸ï¼
1.SublimeText
SublimeTextæ¯ä¸æ¬¾é常æµè¡ç代ç ç¼è¾å¨ï¼æ¯æPython代ç ç¼è¾ï¼åæ¶å ¼å®¹ææå¹³å°ï¼å¹¶ä¸ä¸°å¯çæ件æ©å±äºè¯æ³åç¼è¾åè½ï¼è¿ æ·å°å·§ï¼å ·æè¯å¥½çå ¼å®¹æ§ï¼å¾åç¼ç¨äººå£«çåç±ï¼
2.Vim
VimåViæ¯ä¸ç§æ¨¡åç¼è¾å¨ï¼å®å°ææ¬æ¥çä»ææ¬ç¼è¾ä¸å离ï¼VIMå¨åå§VIä¹ä¸åäºè¯¸å¤æ¹è¿ï¼å æ¬å¯æ©å±æ¨¡ååå°±å°ä»£ç æ建ï¼VIMScriptså¯ç¨äºåç§Pythonå¼åä»»å¡ï¼
3.Atom
Atom被称为âä¸çºªå¯ç ´è§£çææ¬ç¼è¾å¨âï¼å¯ä»¥å ¼å®¹ææå¹³å°ï¼æ¥ææ¶å°ççé¢ãæ件系ç»æµè§å¨åæ©å±æ件å¸åºï¼ä½¿ç¨Electronæ建ï¼å ¶è¿è¡æ¶å®è£ çæ©å±æ件å¯æ¯æPythonè¯è¨ï¼
4.GNUEmacs
GNUEmacsæ¯ä¸æ¬¾ç»èº«å è´¹ä¸å ¼å®¹ä»»ä½å¹³å°ç代ç ç¼è¾å¨ï¼ä½¿ç¨å¼ºå¤§çLispç¼ç¨è¯è¨è¿è¡å®å¶ï¼å¹¶ä¸ºPythonå¼åæä¾åç§å®å¶èæ¬ï¼æ¯ä¸æ¬¾å¯æ©å±ãå¯å®å¶ãèªå¨è®°å½ãå®æ¶æ¾ç¤ºçç¼è¾å¨ï¼ä¸ç´è¦ç»å¨UNIXå¨å´ã
5.VisualStudioCode
VisualStudioCodeæ¯ä¸æ¬¾å ¼å®¹LinuxãMacOSXåWindowså¹³å°çå ¨åè½ä»£ç ç¼è¾å¨ï¼å¯æ©å±å¹¶ä¸å¯ä»¥å¯¹å ä¹ææä»»å¡è¿è¡é ç½®ï¼å¯¹äºPythonçæ¯æå¯ä»¥å¨VisualStudioCodeä¸å®è£ æ件ï¼åªéå¿«éç¹å»æé®å³å¯æåå®è£ ï¼ä¸å¯èªå¨è¯å«Pythonå®è£ ååºã
Pythonç¨ä»ä¹è½¯ä»¶å代ç VSCodeï¼è¿æ¯ä¸ä¸ªå è´¹ãå¼æºã跨平å°ç代ç ç¼è¾å¨ï¼ç±å¾®è½¯èªä¸»è®¾è®¡ç åï¼çé¢é£æ ¼åVSç¸ä¼¼ï¼ä½æ²¡æVSé£ä¹åºå¤§èè¿ï¼è¿è¡é度快ãå ç¨å åå°ï¼æ¯æ常è§çèªå¨è¡¥å ¨ã代ç é«äº®ãè¯æ³æ示ãGITçåè½ï¼å®è£ Pythonæ件åï¼å¯ä»¥ç´æ¥ç¼è¾è¿è¡Pythonç¨åºã对äºPythonå ¥é¨å¼åè æ¥è¯´ï¼æ¯é常ä¸éçéæ©ã
SublimeTextï¼æ¯ä¸ä¸ªé常ä¸éç代ç ç¼è¾å¨ï¼åºæ¬åè½åVSCodeå·®ä¸å¤ï¼è½»ä¾¿çµæ´»ãè¿è¡é度快ï¼ææ¬ç¼è¾åè½å¼ºå¤§ï¼å¸¸è§çèªå¨è¡¥å ¨ãè¯æ³æ£æ¥ãè¯æ³æ示åè½é½è½å¾å¥½æ¯æï¼é 置好æ¬å°Python解éå¨è·¯å²åï¼ä¹æ¯ä¸ä¸ªé常ä¸éçPythonå¼å软件ã
Atomï¼ä¹æ¯ä¸ä¸ªå è´¹ãå¼æºã跨平å°ç代ç ç¼è¾å¨ï¼ç±GitHubä¸é¨ä¸ºå¹¿å¤§ç¨åºå设计ç åï¼åºæ¬åè½åå2个ç¼è¾å¨å·®ä¸å¤ï¼æ¯æ常è§çæºè½è¡¥å ¨ã代ç é«äº®ãè¯æ³æ£æ¥çåè½ï¼å®è£ Pythonæ件åï¼ä¹å¯ä»¥ç´æ¥ç¼è¾è¿è¡Pythonç¨åºã
Vimï¼è¿æ¯Linuxç¯å¢ä¸ä½¿ç¨æå¤çææ¬ç¼è¾å¨ï¼è½»ä¾¿çµæ´»ãæ件æ©å±ä¼å¤ï¼å¯ä»¥èªå®ä¹é ç½®ç¯å¢ï¼ååç§ç¼ç¨è¯è¨é½è½æ··æï¼èä¸ææå¾å¥½ï¼å®è£ Pythonä¹åï¼å¯ä»¥ç´æ¥å½ä½ä¸ä¸ªé常ä¸éçPythonå¼å软件æ¥ä½¿ç¨ã
VisualStudioï¼ç®å使ç¨æå¤çIDEç¯å¢ï¼éæäºé常å¤çå¼åç¯å¢ï¼æ°ççæ¬ä¹å¼å§æ¯æPythonå¼åï¼å¾éPythonä¹åï¼å¯ä»¥ç´æ¥ç¼è¾ãè°è¯ãè¿è¡Pythonç¨åºï¼åè½å¼ºå¤§ã
PyCharmï¼ä¸ä¸ªPythonä¸ç¨çå¼å软件ï¼å¨ä¸çé常æµè¡ï¼ä¹é常å欢è¿ï¼æ¯æ代ç éæã代ç åæãåå æµè¯çé«çº§åè½ï¼å æ¤å¼åãè°è¯ãè¿è¡æçå¾é«ï¼æ¬èº«èªå¸¦äºè®¸å¤å·¥ç¨æ¨¡åï¼å¯ä»¥å¿«éæ建flaskãDjangoçwebåºç¨ã
pythonç¨ä»ä¹ç¼è¾å¨
第ä¸æ¬¾ï¼SublimeText
SublimeTextæ¯ä¸ä¸ªä»£ç ç¼è¾å¨ï¼ä¹æ¯HTMLåæ£æå è¿çææ¬ç¼è¾å¨ãSublimeTextæ¯ç±ç¨åºåJonSkinneräºå¹´1æ份æå¼ååºæ¥ï¼å®æå被设计为ä¸ä¸ªå ·æ丰å¯æ©å±åè½çVimã
SublimeTextå ·ææ¼äº®çç¨æ·çé¢å强大çåè½ï¼ä¾å¦ä»£ç 缩ç¥å¾ï¼Pythonçæ件ï¼ä»£ç 段çãè¿å¯èªå®ä¹é®ç»å®ï¼èååå·¥å ·æ ã
SublimeTextç主è¦åè½å æ¬ï¼æ¼åæ£æ¥ï¼ä¹¦ç¾ï¼å®æ´çPythonAPIï¼Gotoåè½ï¼å³æ¶é¡¹ç®åæ¢ï¼å¤éæ©ï¼å¤çªå£ççãSublimeTextæ¯ä¸ä¸ªè·¨å¹³å°çç¼è¾å¨ï¼åæ¶æ¯æWindowsãLinuxãMacOSXçæä½ç³»ç»ã
第äºæ¬¾ï¼Geany
Geanyæ¯ä¸ä¸ªå°å·§ç使ç¨GTK+2å¼åç跨平å°çå¼æºéæå¼åç¯å¢ï¼ä»¥GPL许å¯è¯ååæºä»£ç ï¼æ¯å è´¹çèªç±è½¯ä»¶ã
Geanyå°å·§ãå¯å¨è¿ éï¼æ¥æè¯æ³é«äº®ã代ç èªå¨è¡¥å®ã代ç æå ãæ件æ©å±ãèªå¨è¡¥å®ç»å¸¸ä½¿ç¨çç»æãè°ç¨æ示çåè½ï¼æ¯æCãJavaãPHPãhtmlãPythonãperlãpascalçè¯è¨ï¼å¯¹å¼åè èè¨æ¯ä¸æ¬¾ç¸å¯¹ç®ä¾¿çå·¥å ·ã
æåªäºå¥½çPythonIDEIDEæ¯å¼åè å建ç¨åºæ¶æ使ç¨ç软件å ï¼å®å¯ä»¥éè¿ç®åçç¨æ·çé¢éæå¤ä¸ªé«åº¦å ³èçç»ä»¶ï¼ä»èæ大åæåå¼åè çç产æçï¼æ¬è´¨ä¸ï¼IDEæ¯ä¸ç§æ¹è¿ä»£ç å建ãæµè¯ådebugæµç¨çå·¥å ·ï¼å®ä½¿è¿äºå·¥ä½æ´å ç®åã
IDE使ç¨çå·¥å ·å æ¬ï¼ææ¬ç¼è¾å¨å/æ解éå¨è£ é èªå¨åå·¥å ·(assemblyautomationtool)è°è¯å¨(debugger)ã
ä¸é¢æ¯ç®åæ¯è¾æµè¡çPythonIDEï¼
1ãPyCharm
ç±èå软件å¼åå ¬å¸JetBrainså¼åãå¨æ¶å人工æºè½åæºå¨å¦ä¹ æ¶ï¼å®è¢«è®¤ä¸ºæ¯æ好çPython
IDEãæéè¦çæ¯ï¼Pycharmå并äºå¤ä¸ªåºï¼å¦MatplotlibåNumPyï¼å¸®å©å¼åè æ¢ç´¢æ´å¤å¯ç¨é项ã
å ¶æ¯æwebå¼åæ¡æ¶ï¼å¦PyramidãFlaskåDjangoãæä¾æºè½ä»£ç åè½ï¼å¯ä»¥æ§è¡æ´ç²¾ç¡®ãå¿«éçbugä¿®å¤ãå¨DockeråVagrantè¿æ¥åsshç»ç«¯ç帮å©ä¸ï¼å 许å¨è¿ç¨ä¸»æºä¸è¿è¡ç¨åºå¼åã
2ãVisualStudioCode
VSCodeæ¯å®æ´ç代ç ç¼è¾å¨ï¼å ·å¤å¾å¤ä¼ç§åè½ï¼è®¸å¤ç¨åºåç§°å ¶ä¸ºæ好çIDEç¼è¾å¨ã
å ¶Electronæ¡æ¶å 许å¼åè å¨å ä¹ææå¹³å°ä¸ä½¿ç¨VSCodeãå¨ç¼è¾å¨ä¸ç´æ¥debugãæ¯æå¤ä¸ªé®çå¿«æ·é®ï¼ä»¥å éç¼ç¨ã
3ãSublimeText
被认为æ¯æ好çPythonç¼è¾å¨ï¼å 为å®ç®åãéç¨ãæ¹ä¾¿ãå®ä½¿ç¨å¹¿æ³ï¼å¯ç¨äºä¸åçå¹³å°ã
å¯å¤çå¤ç§æ è®°è¯è¨ãå 许ç¨æ·éæ©æ³è¦è¿è¡ç项ç®ãå ·å¤è½å¤æä¾ç±»åå½æ°å®½ç´¢å¼çéè¦å·¥å ·ãæä¾å¼ºå¤§çAPIåç»ç»åççæç³»ç»ï¼ä»¥å®ç°é«æ§è½ã
4ãVI/Vim
ä½åæ好çPythonIDEå·¥å ·å5åãå®æ¯ä¸ä¸ªmodaleditorï¼å¯ä»¥ä»ãæ件ç¼è¾ãä¸åå²æ件ãç¸æ¯æåçViï¼Vimæäºå·¨å¤§è¿æ¥ï¼åè½æ´å 强大ã
å ¶å ·å¤é®ççé¢ï¼å¯ä»¥æåæçãæ¯æå¤ä¸ªæ件ãéè¿.vimrcæ件å®ç°ä¸åæ©å±åè½ã
5ãGNUEmacs
ä¹æ¯æ好Pythonç¼è¾å¨çæåç«äºè ãå®å¸¸è¢«æ述为å¯æ©å±ãèªææ¡£åãå®æ¶æ¾ç¤ºã尽管å®å¨ä¸ç并éææ°ï¼ä½å®ç»å¸¸å级æ¥æ»¡è¶³å¼åè çéæ±ã
åªäºpythonçç¼ç¨è½¯ä»¶å¼å¾æ¨èï¼ç¼åpythonæºä»£ç ç软件.é¦æ¨çPycharmã
PyCharmç¨äºbaiä¸è¬IDEå ·å¤çåè½ï¼æ¯å¦ï¼è°è¯ãè¯æ³é«äº®ãProject管çãdu代ç 跳转ãæºè½æ示ãèªå¨å®zhiæãåå æµè¯ãçæ¬æ§å¶
å¦å¤ï¼PyCharmè¿æä¾äºä¸äºå¾å¥½çåè½ç¨äºDjangoå¼åï¼åæ¶æ¯æGoogleAppEngineï¼æ´é ·çæ¯ï¼PyCharmæ¯æIronPythonã
å ¶æ¬¡æ¯sublimetextï¼SublimeTextæ¯æå¤ç§ç¼ç¨è¯è¨çè¯æ³é«äº®ãæ¥æä¼ç§ç代ç èªå¨å®æåè½ï¼è¿æ¥æ代ç ç段(Snippetï¼çåè½ï¼å¯ä»¥å°å¸¸ç¨ç代ç ç段ä¿åèµ·æ¥ï¼å¨éè¦æ¶éæ¶è°ç¨ãæ¯æVIM模å¼ï¼å¯ä»¥ä½¿ç¨Vim模å¼ä¸çå¤æ°å½ä»¤ãæ¯æå®ï¼ç®åå°è¯´å°±æ¯ææä½å½å¶ä¸æ¥æè èªå·±ç¼åå½ä»¤ï¼ç¶åææ¾åæå½å¶çæä½æè å½ä»¤ã
è¿æJupyter,视频源码压缩JupyterNotebook(æ¤å被称为IPythonnotebook)æ¯ä¸ä¸ªäº¤äºå¼ç¬è®°æ¬ï¼æ¯æè¿è¡å¤ç§ç¼ç¨è¯è¨ã
æåå°±æ¯æåºæ¬çnopad++ï¼æå¼å§çæ¶åæ¯å®ç¨è¿æ¬¾ä½ä¸ºå¼åå·¥å ·è¿è¡åºç¡ç»ä¹ ã
Pythonç¼ç¨éè¦ç¨ä»ä¹è½¯ä»¶Pythonç¼ç¨éè¦ç¨ä»¥ä¸å 个软件ï¼
1ãPycharmï¼PyCharmæ¯ä¸ç§PythonIDEï¼å¸¦æä¸æ´å¥å¯ä»¥å¸®å©ç¨æ·å¨ä½¿ç¨Pythonè¯è¨å¼åæ¶æé«å ¶æççå·¥å ·ï¼æ¯å¦è°è¯ãè¯æ³é«äº®ãProject管çã代ç 跳转ãæºè½æ示ãèªå¨å®æãåå æµè¯ãçæ¬æ§å¶ã
2ãIDLEï¼Idleæ¯ä¸ä¸ªçº¯Pythonä¸ä½¿ç¨Tkinterç¼åçç¸å½åºæ¬çIDEã
3ãIpythonï¼ipythonæ¯ä¸ä¸ªpythonç交äºå¼shellï¼æ¯é»è®¤çpythonshell好ç¨å¾å¤ã
å¦éå¦ä¹ Pythonç¼ç¨æ¨èéæ©è¾¾å æè²ï¼ç§æ¿âåå¸åºé«å¾ãé«å¾æ¿é«èªâçæå¦ç念ï¼æ¯è¾¾å å ¬å¸ç¡®ä¿æå¦è´¨éçéè¦ç¯èãä½ä¸ºç¾å½ä¸å¸èä¸æè²å ¬å¸ï¼è¯ä¿¡ç»è¥ï¼æç»èåå®£ä¼ æ¯è¯¥æºæéå¢çç»è¥ç念ã该æºæå¨å¦åæ¥åä¹åå®å ¨å ¬å¼æææ课讲å¸çæ课å®æåèæ¯èµæï¼å¹¶ä¸å¦åç¾è®¢ãæå®æ课讲å¸æ¿è¯ºä¹¦ãï¼ç¡®ä¿å¦åå©çã
æ³äºè§£æ´å¤æå ³Pythonçç¸å ³ä¿¡æ¯ï¼æ¨èå¨è¯¢è¾¾å æè²ãè¾¾å ä¸é¿éãAdobeã红帽ãORACLEã微软ãç¾å½è®¡ç®æºè¡ä¸åä¼ï¼CompTIAï¼ãç¾åº¦çå½é ç¥ååå建ç«äºé¡¹ç®åä½å ³ç³»ãå ±åå¶å®è¡ä¸å¹è®æ åï¼ä¸ºè¾¾å å¦åæä¾é«ç«¯ææ¯ãæå¦è¯¾ç¨åå½é åå认å¯ï¼è®©è¾¾å å¦åæ´å ·å½é åå°±ä¸ç«äºåã