Home Page Microblog



Download 2,44 Mb.
Pdf ko'rish
bet14/17
Sana30.12.2021
Hajmi2,44 Mb.
#90837
1   ...   9   10   11   12   13   14   15   16   17
Bog'liq
mega-tutorial

http://localhost:5000/

Alternatively you can use this other URL:



http://localhost:5000/index

Do you see the application route mappings in action? The first URL maps to



/

, while the second

maps to

/index

. Both routes are associated with the only view function in the application, so

they produce the same output, which is the string that the function returns. If you enter any

other URL you will get an error, since only these two URLs are recognized by the application.




1.3. A “HELLO, WORLD” FLASK APPLICATION

9

When you are done playing with the server you can just press Ctrl-C to stop it.



Congratulations, you have completed the first big step to become a web developer!


10

CHAPTER 1. HELLO, WORLD!




Chapter 2

Templates

After you complete

Chapter 1

, you should have a fully working, yet simple web application

that has the following file structure:




Download 2,44 Mb.

Do'stlaringiz bilan baham:
1   ...   9   10   11   12   13   14   15   16   17




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