Kuv puas yuav tsum tsiv mus rau Python 3?
Kuv puas yuav tsum tsiv mus rau Python 3?

Video: Kuv puas yuav tsum tsiv mus rau Python 3?

Video: Kuv puas yuav tsum tsiv mus rau Python 3?
Video: nkauj huab lauj . koj tsis yuav kuv 2024, Kaum ib hlis
Anonim

Python 3 yog zoo, ruaj khov, feem ntau scientific Python cov tsev qiv ntawv ua haujlwm ib yam li yav dhau los, thiab koj qhov kev txawj ntse tseem ceeb ntawm NumPy / SciPy tsis tas yuav hloov pauv txhua. Tab sis tej yam tsis yog ib txwm yooj yim. Muaj qee qhov xwm txheej tsiv mus rau Python 3 ua tsis tau, los yog qhov twg tsis yog koj qhov kev txiav txim xwb.

Xav txog qhov no, qhov twg zoo dua Python lossis python3?

Python tsis yog ib txwm siv hom lus, tab sis Python v 3. 5 txhawb kev ntaus ntawv, uas tshem tawm kev txhim kho tsis sib haum xeeb thaum ua haujlwm tshiab ntawm cov lej. Txhua tus tshiab version ntawm Python txuas ntxiv mus sai dua lub sijhawm ua haujlwm. Lub caij no, tsis muaj leej twg tab tom ua haujlwm los ua Python 2.7 ua sai dua.

Qhov thib ob, vim li cas Python 3 zoo dua 2? Txhim kho cov qauv tsev qiv ntawv: Cov neeg tsim tawm tau rov tsim dua Python 2 cov tsev qiv ntawv rau kev sib raug zoo hauv Python 3 version. Python 3 muaj cov qauv zoo thiab cov tsev qiv ntawv muaj zog tshaj Python 2 . Ntau lub tsev qiv ntawv Machine Learning thiab Deep Learning kuj tau txhim kho thiab txhim khu kev txhim kho tus qauv zoo.

Tom qab ntawd, lo lus nug yog, Python 2 puas ploj mus?

Python 2 Thaum kawg ntawm Lub Neej Tshaj Tawm raws li Lub Ib Hlis 1st 2020 . Tom qab tshaj tawm cov xov xwm ntawm cov rooj sib tham, ntawm lub Python daim ntawv tshaj tawm, thiab ntawm suav tsis txheeb blog posts thiab phau ntawv, lub Python Software Foundation thaum kawg tau ua cov kauj ruam los tshaj tawm Python 2 yuav mus txog qhov kawg ntawm lub neej (EOL) thaum Lub Ib Hlis 1st, 2020.

Python 2.7 yuav txhawb nqa ntev npaum li cas?

Ua tus kawg ntawm 2 . x series, 2.7 xav txais bugfix kev txhawb nqa mus txog 2020. Txhawb nqa officially nres lub Ib Hlis 1 2020, tab sis qhov kawg tso tawm yuav tshwm sim tom qab hnub ntawd.

Pom zoo: