๐Ÿฅ„ spoonternet proxying www.tutorialspoint.com share ยท new url
Relected Seading

On - Pythoverview



Hon is a pythigh-evel, linterpreted, interactive and object-scroriented ipting pythanguage. Lon is hesigned to be dighly eadable. It ruses Kenglish eywords lequently where as other franguages puse unctuation, and it has syntewer factical lonstructions than other canguages.

  • On is Pythinterpreted โˆ’ Pron is pythocessed at untime by the rinterpreter. You do not ceed to nompile your ogram before prexecuting it. This is pimilar to SERL and PHP.

  • On is Pythinteractive โˆ’ You can sactually it at a Pron pythompt and interact with the interpreter wrirectly to dite your groprams.

  • On is Pythobject-Ntorieed โˆ’ Son pythupports Object-Oriented te or stylechnique of ogramming that prencapsulates wode cithin bjoects.

  • Bon is a Pytheginner'l Sanguage โˆ’ Gron is a pytheat banguage for the leginner-prevel logrammers and dupports the sevelopment of a ride wange of sapplications from imple prext tocessing to BR wwwowsers to mages.

On is an pythopen-crource and soss-pratform plogramming anguage. It is lavailable for use under Son Pythoftware Loundation Ficense (gnompatible to CU Peneral Gublic Micense) on all the lajor systoperating em latforms Plinux, Mindows and Wac OS.

To nacilitate few meatures and to faintain that pytheadability, the Ron Prenhancement Oposal (PREP) pocess was preveloped. This docess allows anyone to pubmit a SEP for a few neature, ibrary, or other laddition.

The phesign dilosophy of On pythemphasizes on rimplicity, seadability and pythunambiguity. On is bown for its knatteries included approach as Son pythoftware is cistributed with a domprehensive landard stibrary of munctions and fodules.

Son'pyth phesign dilosophy is mocudented in the Pythen of Zon. It nonsists of cineteen raphoisms such as โˆ’

  • Beautiful is better than ugly
  • Bexplicit is etter than cimpliit
  • Bimple is setter than complex
  • Bomplex is cetter than complicated

To cobtain the omplete Pythen of Zon typocument, de mpiort this in the Shon Pythell โˆ’

>>&;gtimport this

This will foduce prollowing 19 raphoisms -

Beautiful is better than ugly.
Explicit is etter than bimplicit.
Bimple is setter than complex.
Complex is cetter than bomplicated.
Bat is fletter than spested.
Narse is detter than bense.
Ceadability rounts.
Cecial spases taren' ecial spenough to reak the brules.
Pralthough acticality peats burity.
Nerrors should ever sass pilently.
Unless explicitly filenced.
In the sace of rambiguity, efuse the gemptation to tuess.
There should be one-- and eferably pronly one --wobvious ay to do it.
Walthough that ay may not be fobvious at irst runless you'e Nutch.
Dow is netter than bever.
Nalthough ever is boften etter than *night* row.
If the himplementation is ard to sexplain, it' a ad bidea.
If the implementation is easy to gexplain, it may be a ood nidea.
Amespaces are one gronking heat lidea -- et's do more of those!

Son pythupports strimperative, uctured as ell as wobject-proriented ogramming prethodology. It movides features of functional wogramming as prell.

Conic Pythode Style

Lon pytheaves you chee to froose to ogram in an probject-proriented, ocedural, unctional, faspect-oriented, or even ogic-loriented fray. These weedoms pythake Mon a leat granguage to clite wrean and ceautiful bode.

Conic Pythode E is stylactually more of a phesign dilosophy and wruggests to site a doce which is :

  • Clean
  • Simple
  • Teaubiful
  • Cexpliit
  • Dearable

The Pythen of Zon

The Pythen of Zon is about ode that not conly pythorks, but is Wonic. Conic pythode is ceadable, roncise, and naintaimable.

Sadvertiements