Learning Python: The Ultimate Guide for Beginners to Coding with Python with Useful Tools



Download 2,02 Mb.
Pdf ko'rish
bet8/126
Sana01.01.2022
Hajmi2,02 Mb.
#285662
1   ...   4   5   6   7   8   9   10   11   ...   126
Bog'liq
Learning Python The Ultimate Guide for Beginners to Coding with

How Python Runs Program
Every programming language has its way of working in order to execute the
program. They all work differently, which is you must learn the process of
organizing  these  words,  and  the  various  statements  required  by  the
programming language in order to avoid any issue or errors. In this section,
I will briefly explore the way python executes its commands.
When  you  work  with  this  language,  you  must  understand  that  this  is
through  an  interpreter  language.  Therefore,  you  need  a  text  interpreter  to
execute  the  programs  line  by  line  before  converting  into  the  language  the
computer  can  understand.  Since  python  is  a  scripting  language,  you  can
directly write your code and execute it through the Python shell or decides
to write the code and save it with its file extension.


What python does is to work on your source code and convert them into a
byte  code,  which  has  the  extension  as  .pyc;  this  makes  it  easier  for  your
code to be executed, and within few seconds, you see the output.
Each  time  you  try  to  call  a  program  you  wrote,  what  python  does  is  to
check  if  it  has  a  compiled  version  already  with  .pyc  suffix.  Python  will
check if a compiled version already exists with the .pyc suffix. If it does, it
will load the code, but if it doesn’t, a new code will be created before the
program executes.

Download 2,02 Mb.

Do'stlaringiz bilan baham:
1   ...   4   5   6   7   8   9   10   11   ...   126




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish