çµèç¼ç¨è½¯ä»¶python(çµèç¼ç¨è½¯ä»¶å«ä»ä¹åå)
å¦ä½å¨çµèä¸è½½python
é¦å å¨æµè§å¨ä¸è¾å ¥pythonçå®ç½ï¼ç´æ¥å°å®ç½ä¸è½½ç¼ç¨è½¯ä»¶ã
ç¹å»ãDownloadã,迅捷迅捷layaair如何导入源码å·²å¨å¾ä¸ç¨çº¢çº¿ç»åºã
请ç¹å»è¾å ¥å¾çæè¿°
è¿éè¦ç¨çä¸ä¼ï¼å 为ç½ç«ä¼èªå¨æ£æµæä½ç³»ç»ï¼ç´æ¥ååºå¯ä¸è½½çå®è£ æ件ãå½ç¶ä¹å¯ä»¥èªå·±éæ©ä¸è½½ï¼ä½è¿éä¸æ¨èï¼æ以ä¸åä»ç»ã
请ç¹å»è¾å ¥å¾çæè¿°
ä¸è½½å®æ以åï¼è¿è¡ç¨åºçå®è£ ãå å°ä¸æ¹çãAddpython3.6toPYTHãæå¾ï¼è¡¨ç¤ºåéçæ·»å ãä¸æ¹çãInstallNowã代表é»è®¤çå®è£ 路线ï¼ãCustomizeinstallationã代表èªå®ä¹çå®è£ 路线ãå°ç¼è¿ééç¨çæ¯ç³»ç»é»è®¤çå®è£ ï¼å¤§å®¶ä¹å¯ä»¥èªå®ä¹ã
请ç¹å»è¾å ¥å¾çæè¿°
软件å®è£ ä¸ä¸å®è£ å®æã
请ç¹å»è¾å ¥å¾çæè¿°
请ç¹å»è¾å ¥å¾çæè¿°
å¯ä»¥ç´æ¥åå½ä»¤æ示符è¾å ¥pythonæå¼ç¨åºï¼é常æ¹ä¾¿ã
ï¼è¿éæ¯ä¸ä¸ªæç®åçpythonç¨åºï¼
请ç¹å»è¾å ¥å¾çæè¿°
Pythonç¼ç¨å¸¸ç¨è½¯ä»¶æåªäº?ãPython3.9.7软件ãç¾åº¦ç½çèµæºå è´¹ä¸è½½:
é¾æ¥:
pwd=nhfcæåç :nhfcPython3.9.7ææ°æ£å¼çæ¯ä¸ç§é¢å对象ãç´è¯å¼è®¡ç®æºç¨åºè®¾è®¡è¯è¨ï¼ä¹æ¯ä¸ç§åè½å¼ºå¤§èå®åçéç¨åè¯è¨ï¼å·²ç»å ·æåå¤å¹´çåå±åå²ï¼æçä¸ç¨³å®ã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å¼å软件å¯æ ¹æ®å ¶ç¨éä¸åå为两ç§ï¼ä¸ç§æ¯Python代ç ç¼è¾å¨ï¼ä¸ç§æ¯Pythonéæå¼åå·¥å ·ï¼ä¸¤è çé å使ç¨å¯ä»¥æ大çæé«
Pythonå¼å人åçç¼ç¨æçï¼ä»¥ä¸æ¯å¸¸ç¨çå 款Python代ç ç¼è¾å¨å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éæå¼åç¯å¢
1.PyCharm
PyCharmæ¯å¯ä¸ä¸æ¬¾ä¸é¨é¢åPythonçå ¨åè½éæå¼åç¯å¢ï¼åæ ·æ¥æä»è´¹çåå è´¹å¼æºçï¼PyCharmä¸è®ºæ¯å¨WindowsãMacOS
Xç³»ç»ä¸ï¼è¿æ¯å¨Linuxç³»ç»ä¸é½æ¯æå¿«éå®è£ å使ç¨ã
PyCharmç´æ¥æ¯æPythonå¼åç¯å¢ï¼æå¼ä¸ä¸ªæ°çæ件ç¶åå°±å¯ä»¥å¼å§ç¼å代ç ï¼ä¹å¯ä»¥å¨PyCharmä¸ç´æ¥è¿è¡åè°è¯Pythonç¨åºï¼
å®è¿æ¯ææºç 管çå项ç®ï¼å¹¶ä¸å ¶æ¥æä¼å¤ä¾¿å©åæ¯æ社åºï¼è½å¤å¿«éææ¡å¦ä¹ 使ç¨ï¼
2.Eclipse+PyDev
PyDevæ¯Eclipseéæå¼åç¯å¢çä¸ä¸ªæ件ï¼æ¯æPythonè°è¯ã代ç è¡¥å ¨å交äºå¼Pythonæ§å¶å°çï¼å¨Eclipseä¸å®è£ PyDevé常便æ·ï¼åª
éä»Eclipseä¸éæ©âHelpâç¹å»âEclipseMarketplaceâç¶åæç´¢PyDevï¼ç¹å»å®è£ ï¼å¿ è¦çæ¶åéå¯Eclipseå³å¯ï¼å¯¹äºèµæ·±Eclipse
å¼åè æ¥è¯´ï¼PyDevå¯ä»¥å¾è½»æ¾ä¸æï¼
3.VisualStudio
VisualStudioæ¯ä¸æ¬¾å ¨åè½éæå¼åå¹³å°ï¼æä¾äºå è´¹çåä»è´¹çï¼å¯ä»¥æ¯æåç§å¹³å°çå¼åï¼ä¸é带äºèªå·±çæ©å±æ件å¸åºãå¨Visual
Studioä¸å¯è¿è¡Pythonç¼ç¨ï¼å¹¶ä¸æ¯æPythonæºè½æç¥ãè°è¯åå ¶ä»å·¥å ·ï¼å¼å¾æ³¨æçæ¯VisualStudioä¸æ¯æLinuxå¹³å°ï¼
4.Spyder
Spyderæ¯ä¸æ¬¾ä¸ºäºæ°æ®ç§å¦å·¥ä½æµåäºä¼åçå¼æºPythonéæå¼åç¯å¢ï¼å®æ¯éå¨Anaconda软件å 管çå¨åè¡çä¸çï¼Spyderæ¥æ大
é¨åéæå¼åç¯å¢è¯¥å ·å¤çåè½ï¼å¦å¼ºå¤§è¯æ³é«äº®åè½ç代ç ç¼è¾å¨ãPython代ç è¡¥å ¨ä»¥åéææ件æµè§å¨ï¼å ¶è¿å ·æå ¶ä»Pythonç¼è¾
ç¯å¢ä¸æä¸å ·å¤çåéæµè§å¨åè½ï¼ååéå使ç¨Pythonçæ°æ®ç§å¦å®¶ä»¬ã
5.Thonny
Thonnyæ¯é对æ°æçä¸æ¬¾éæå¼åç¯å¢ï¼éç¨äºå ¨é¨ä¸»æµå¹³å°ï¼é»è®¤æ åµä¸ï¼Thonnyä¼åèªå¸¦æç»çPythonçæ¬ä¸èµ·å®è£ ï¼ååæ¹ä¾¿
æ°æ使ç¨ï¼
以ä¸æ¯æ¯è¾å¸¸ç¨çå 款Python代ç ç¼è¾å¨åPythonéæå¼åç¯å¢ï¼Pythonå¼å人åãæ£å¨å¦ä¹ Pythonå¼å以åæ³ä»äºPythonå¼åå·¥ä½
人åå¯ä»¥å°è¯ä½¿ç¨ä¸ä¸ï¼éæ©èªå·±æ顺æçå¼åå·¥å ·ï¼å¯¹ä»¥åçå·¥ä½å¯ä»¥èµ·å°äºåååçææï¼
æ´å¤å¦ä¹ å 容ï¼è¯·ç¹å»Pythonå¦ä¹ ç½ï¼
pythonç¨ä»ä¹è½¯ä»¶ç¼ç¨ï¼Pythonæ¯ä¸ç§é«çº§ç¼ç¨è¯è¨ï¼å¯ä»¥å¨å¤ä¸ªéæå¼åç¯å¢ï¼IDEï¼ä¸è¿è¡ç¼ç¨ã以ä¸æ¯ä¸äºå¸¸ç¨çPythonç¼ç¨è½¯ä»¶ï¼
1.PyCharmï¼JetBrainså ¬å¸å¼åçPythonIDEï¼åè½å¼ºå¤§ï¼å æ¬è°è¯ã代ç èªå¨è¡¥å ¨ãéæçæ¬æ§å¶çåè½ãæä¸ä¸çå社åºç两个çæ¬ã
2.VSCodeï¼ç±å¾®è½¯å¼åçéæå¼åç¯å¢ï¼æ¯æå¤ç§ç¼ç¨è¯è¨ï¼å æ¬Pythonãæ¥æ强大çæ©å±åè½ï¼å¯ä»¥éæè°è¯å¨åGit管çã
3.Spyderï¼ä¸ä¸ªå¼æºç§å¦è®¡ç®IDEï¼è½å¤æ§è¡ç§å¦è®¡ç®ãç»å¾çæä½ï¼ä¹æ¯æPythonç¼ç¨ã
4.JupyterNotebookï¼ä¸ç§äº¤äºå¼ç¼ç¨ç¯å¢ï¼å¯ä»¥å¨æµè§å¨ä¸è¿è¡ï¼æ¯æPythonç¼ç¨åæ°æ®å¯è§åã
5.IDLEï¼Pythonå®æ¹èªå¸¦çIDEï¼å æ¬ç¼è¾å¨ã解æå¨åè°è¯å¨çåè½ã
以ä¸æ¯ä¸äºå¸¸ç¨çPythonç¼ç¨è½¯ä»¶ï¼æ¨å¯ä»¥æ ¹æ®èªå·±çéè¦éæ©ä¸ä¸ªéåèªå·±çIDEè¿è¡Pythonç¼ç¨ã
å¦pythonéè¦ä»ä¹è½¯ä»¶å¦pythonéè¦ç软件ï¼
1ãsublimeTextï¼æ¯ä¸æ¬¾é常æµè¡ç代ç ç¼è¾å¨ï¼æ¯æPython代ç ç¼è¾ï¼åæ¶å ¼å®¹ææå¹³å°ï¼å¹¶ä¸ä¸°å¯çæ件æ©å±äºè¯æ³åç¼è¾åè½ï¼è¿ æ·å°å·§ï¼å ·æè¯å¥½çå ¼å®¹æ§ï¼å¾åç¼ç¨äººå£«çåç±ã
2ãVimï¼VimåVIæ¯ä¸ç§æ¨¡åç¼è¾å¨ï¼å®å°ææ¬æ¥çä»ææ¬ç¼è¾ä¸å离ï¼VIMå¨åå§VIä¹ä¸åäºè¯¸å¤æ¹è¿ï¼å æ¬å¯æ©å±æ¨¡ååå°±å°ä»£ç æ建ï¼VIMScriptså¯ç¨äºåç§Pythonå¼åä»»å¡ã
3ãVisualStudioCodeï¼VisualStudioCodeæ¯ä¸æ¬¾å ¼å®¹LinuxãMacOSï¼XåWindowså¹³å°çå ¨åè½ä»£ç ç¼è¾å¨ï¼å¯æ©å±å¹¶ä¸å¯ä»¥å¯¹å ä¹ææä»»å¡è¿è¡é ç½®ï¼å¯¹äºPythonçæ¯æå¯ä»¥å¨VisualStudioï¼Codeä¸å®è£ æ件ï¼åªéå¿«éç¹å»æé®å³å¯æåå®è£ ï¼ä¸å¯èªå¨è¯å«Pythonå®è£ ååºã
Python
ç±è·å °æ°å¦å计ç®æºç§å¦ç 究å¦ä¼çåå¤Â·èç½èå§äºå¹´ä»£å设计ï¼ä½ä¸ºä¸é¨å«åABCè¯è¨çæ¿ä»£åãPythonæä¾äºé«æçé«çº§æ°æ®ç»æï¼è¿è½ç®åææå°é¢å对象ç¼ç¨ãPythonè¯æ³åå¨æç±»åï¼ä»¥å解éåè¯è¨çæ¬è´¨ï¼ä½¿å®æ为å¤æ°å¹³å°ä¸åèæ¬åå¿«éå¼ååºç¨çç¼ç¨è¯è¨ï¼éççæ¬çä¸ææ´æ°åè¯è¨æ°åè½çæ·»å ï¼éæ¸è¢«ç¨äºç¬ç«çã大å项ç®çå¼åã
以ä¸å 容åèï¼ç¾åº¦ç¾ç§-Python
å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ï¼ãç¾åº¦çå½é ç¥ååå建ç«äºé¡¹ç®åä½å ³ç³»ãå ±åå¶å®è¡ä¸å¹è®æ åï¼ä¸ºè¾¾å å¦åæä¾é«ç«¯ææ¯ãæå¦è¯¾ç¨åå½é åå认å¯ï¼è®©è¾¾å å¦åæ´å ·å½é åå°±ä¸ç«äºåã
2024-12-24 00:30
2024-12-24 00:07
2024-12-23 23:17
2024-12-23 23:16
2024-12-23 23:04