Iqokomisa ikhodi yePython ku-nano (isihleli esigungwini)

Abaningi bethu abasebenzisa abaphathi bombhalo bathanda I-Gedit, Kate, okubandakanya I-Notepad ++ Ku-Windows, siyakubona ukusebenziseka kalula abakunikezayo lapho kubhalwa ikhodi.

Sibhala ikhodi bese sikhomba / siqokomisa amagama akhethekile, amagama abo aleyo khodi (ku bash okuvelele cp, sudo, Njl

Iphuzu ukuthi ngizokukhombisa ukuthi ungenza kanjani nano (leso sihleli sombhalo esisebenzisekayo nesipholile) sigqamisa amagama / ikhodi kusuka Python.

Kuchazwe imidwebo, lapha unezithombe ezimbili, eyokuqala NGAPHANDLE kokwenza noma yini, enye indlela amafayela azoboniswa ngayo .py ngemuva kokulandela lesi sifundo:

 

Kulungile? I-LOL

Ukufeza lokhu kulula kakhulu:

1. Vula i-terminal bese ufaka okulandelayo kuyo bese ucindezela [Faka]:

cp /usr/share/nano/python.nanorc $HOME/.nanorc

2. … .. KULUNGILE !!! Silungile, akukho okunye 😉

Vala leso siginali bese uvula esinye, kufakwa kuso:

nano test.py

Futhi bhala okufunayo, faka okuthile ku-python efana ne- «ukuphrinta»«ukungenisa»«kusukela»Futhi bazobona ukuthi la magama ashintsha kanjani futhi aqokonyiswe.

Sanibonani


Okuqukethwe yi-athikili kunamathela ezimisweni zethu ze izimiso zokuhlelela. Ukubika iphutha chofoza lapha.

Amazwana ayi-4, shiya okwakho

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe. Ezidingekayo ibhalwe nge *

*

*

  1. Ubhekele imininingwane: Miguel Ángel Gatón
  2. Inhloso yedatha: Lawula Ugaxekile, ukuphathwa kwamazwana.
  3. Ukusemthethweni: Imvume yakho
  4. Ukuxhumana kwemininingwane: Imininingwane ngeke idluliselwe kubantu besithathu ngaphandle kwesibopho esisemthethweni.
  5. Isitoreji sedatha: Idatabase ebanjwe yi-Occentus Networks (EU)
  6. Amalungelo: Nganoma yisiphi isikhathi ungakhawulela, uthole futhi ususe imininingwane yakho.

  1.   Ziyi-Link kusho

    Siyabonga ngokwabelana, kuyasiza uma ngidinga ukuhlela okuthile ngokushesha ngaphandle kokuvula iGeany

    1.    I-KZKG ^ Gaara <"Linux kusho

      Akunjalo, ukunambitheka okuthola kuwusizo 🙂
      Phendula ngokucaphuna

  2.   Isitatimende kusho

    Isebenza e-Arhlinux, angikazami okwamanje

    1.    Isitatimende kusho

      Isebenza ngokuphelele Ngiyabonga, mhlawumbe kukhona okwaziyo ukubona ukungena ngaphakathi ngaphakathi nano ???