SlideShare uma empresa Scribd logo
1 de 69
learning
python with flask
P Y L A D I E S 2 0 1 7 W O R K S H O P # 1
MALAYSIA
before we start
why
pyladies
M A L A Y S I A
MALAYSIA
how
pyladies
W O R K S
MALAYSIA
pyladies
need you!
B E P A R T O F T H E H I S T O R Y M A K E R S
MALAYSIA
Just right before we start
@OnApp https://facebook.com/OnApp
A SHOUT OUT TO OUR VENUE SPONSOR
introduction
SIAN LERK LAU
linkedin.com/in/sianlerk
@kiawin
∗ Amateur guitarist
∗ Ex-Intern at OnApp KL
∗ UM undergraduate
student (3rd year)
∗ Python newbie, 8 months
old
FADHIL YAACOB
@sdil
a shout out to our
pyladies mentors
ALIES YAP
JANICE SHIU
PEI PEI
MALAYSIA
jom!
R U
REHDY
TO PYTHON*
DO.
* WHY PYTHON
* THE ENVIRONMENT (PART 1 & 2)
* PYTHON 101
* CONTROL STRUCTURES
* A REAL PROGRAM
WHY*
CODE IN PYTHON
EASY TO UNDERSTAND
CONCISE SYNTAX
MULTI-PURPOSE
STRENGTH OF PYTHON
GOOGLE-ABLE!
WELL SUPPORTED LIBS
FAST TO DELIVER
STRENGTH OF PYTHON
ENV*
PYTHON ENVIRONMENT (PART 1)
# Python interactive shell
$ python
# Python interactive shell
# (on steroid!)
$ pip install ipython
$ ipython
# QUIZ: What version of python
# are you currently using?
ENV* - EASIEST WAY TO PYTHON
101*
PYTHON - DATA TYPES
# DECLARE-LESS TYPED
>>> a = 1
>>> print a
1
>>> type(a)
<type 'int'>
101* - DATA TYPES
# MORE TYPES - '' and ""
>>> b = 'a'
>>> c = 'abc'
>>> d = "abc"
# QUIZ: WHAT DATA TYPES ARE b, c and d?
>>> type(b)
>>> type(c)
>>> type(d)
101* - DATA TYPES
# MORE TYPES
# bool, NoneType, float, long
>>> e = True
>>> f = False
>>> g = None
>>> h = 1.0
>>> i = 1L
# QUIZ: WHAT IS None?
101* - DATA TYPES
101*
PYTHON - COLLECTIONS
# COLLECTION 1: LIST
>>> a = [1, 2, 3]
>>> b = list()
>>> b.append(1)
>>> b.append(2)
>>> b.append(3)
# QUIZ: How do we retrieve the value?
# QUIZ: Is a and b same?
101* - DATA TYPES
# SAME - EQUALITY or IDENTITY?
>>> a == b
True
>>> a is b
False
# QUIZ: WHAT IS THE DIFF
# BETWEEN == AND is
101* - DATA TYPES
# COLLECTION 2 - TUPLE
>>> c = (1, 2, 3)
>>> d = 1, 2, 3
# QUIZ: SO AGAIN, IS c SAME with d?
101* - DATA TYPES
# COLLECTION 3: dict
>>> e = {1: 11, 2: 22}
>>> e[1]
>>> e[2]
# QUIZ: IS THIS AN array?
# QUIZ: MUST THE key BE int?
101* - DATA TYPES
# COLLECTION 4: set
>>> f = set()
>>> f.add(1)
>>> f.add(2)
>>> f.add(3)
# QUIZ: WHAT IS THE DIFF
# BETWEEN list AND set?
101* - DATA TYPES
101*
PYTHON - CONTROL STRUCTURES
101* - DATA TYPES
# if, else, elif
>>> a = 2
>>> if a == 1:
... print "hello"
... elif a == 2:
... print "world"
>>>
101* - DATA TYPES
# if, else, elif CONTINUES
>>> a = 1
>>> if a == 1:
... print "hello"
... else:
... print "world"
>>>
101* - DATA TYPES
# for LOOP
>>> for i in [1, 2, 3]:
... print i
>>> for j in range(1,3):
... print j
# QUIZ: WHAT DO YOU SEE WHEN print j
101* - DATA TYPES
# for LOOP
>>> for i in (1, 2, 3):
... print i
>>> for k,v in {1: 11, 2: 22}.iteritems():
... print k, v
# QUIZ: WHAT DO YOU SEE WHEN print k, v
101* - DATA TYPES
# list comprehension
>>> a = [1,2,3,4,5]
>>> b = [i+1 for i in a]
# QUIZ: WHAT IS THE VALUE OF b?
101* - DATA TYPES
# list comprehension
>>> a = [1,2,3,4,5]
>>> b = [i for i in a if i % 2 == 0]
# QUIZ: WHAT IS THE VALUE OF b?
ENV*
PYTHON ENVIRONMENT (PART 2)
pip
∗ Package management system used to install and manage
software packages written in Python
∗ Why?
Easy package installations, updating, configuring and
removals with a single command
∗ Over 86,000 Python packages can be accessed through
PyPI
∗ Sample commands:
$ pip install flask
$ pip uninstall flask
python packages
∗ Mathematical Analytics: Numpy
∗ DB Connectors: MySQL, MongoDB,
PostgreSQL, etc.
∗ Web Frameworks: Pyramid, Django
∗ Twitter API client
∗ Many more…
“It’s like Swiss-army toolchain”
virtualenv
∗ Is an isolated working copy of Python which allows you to
work on a specific project without worry of affecting other
projects
∗ Why?
We might wants to maintain the package version
(prefer not upgrading it to newer version)
“Do not fix things that aren’t broken”
THE BIG PICTURE
Python3
virtualenv1 virtualenv2 virtualenv3
package1 v1
package2 v1
package3 v1
package1 v2
package2 v2
package3 v2
package1 v1
package2 v2
package3 v1
virtualenv
# INSTALL VIRTUALENV
$ pip install virtualenv
# CREATE A NEW VENV
$ virtualenv Project1
virtualenv
# ACTIVATE A VENV ON LINUX
workon Project1
# ON WINDOWS
$ /path/to/folder/Scripts/activate.bat
# LIST INSTALLED PACKAGES
(test)$ pip freeze
PROG*
A REAL PROGRAM, NOW
flask
∗ Flask is a micro web framework written in Python
∗ Micro framework means it does not require particular
tools or libraries and it just works
∗ Suitable for minimal website or a full featured website
∗ Many extensions freely available:
User authentications
Flask-Security
File Uploads
Database
Let’s get hand dirty
∗ “Hello World!”
PROG* - HELLO WORLD!
# INSTALL FLASK MODULE
$ pip install flask
# QUIZ: WHAT DO YOU SEE IN RESULT
# OF THE ABOVE COMMAND
PROG* - HELLO WORLD!
# EDIT A NEW FILE USING YOUR FAVOURITE
# TEXT EDITOR
$ vim hello.py
PROG* - HELLO WORLD!
# KEY IN THE FOLLOWING INTO THE FILE
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "Hello World!"
NOOO WAY… R U KIDDING ME?
CONGRATULATIONS!
U HV COMPLETED
A WORKING PROGRAM WEB SERVICE
# LET’S START THE WEB SERVICE
$ export FLASK_APP=hello.py
$ flask run
# IF WINDOWS
$ set FLASK_APP=hello.py
$ flask run
# QUIZ: WHAT’S NEXT?
PROG* - HELLO WORLD!
localhost:5000
BEAM ME UP, SCOTTY
Hello World!
SIMPLICITY
Programming can be easy and fun
(Using python)
PROG*
WHAT’S NEXT? MOOOOOOORE~
localhost:5000
BEAM ME UP, SCOTTY… AGAIN
Not Hello World!
localhost:5000/hello
HECTOR AND THE SEARCH FOR
HAPPINESS
Hello World!
PROG* - MOOOOOOORE~
# KEY IN THE FOLLOWING INTO THE FILE
from flask import Flask
app = Flask(__name__)
@app.route("/")
def index():
return "Not Hello World!"
@app.route("/hello")
def hello():
return "Hello World!"
# QUIZ: MUST THE ROUTE NAME SAME WITH
# THE METHOD NAME?
PROG* - MOOOOOOOORE~
# QUIZ: CAN I DON’T RESTART FLASK
# EVERY TIME I MODIFY MY FILE?
$ export FLASK_DEBUG=1
$ flask run
# QUIZ: WHAT IS THE COMMAND IF YOU USE
# WINDOWS?
PROG* - MOOOOOOORE~
# KEY IN THE FOLLOWING INTO THE FILE
from flask import Flask
app = Flask(__name__)
@app.route("/")
def index():
return "Index!"
@app.route("/user/<username>")
def user(username):
return "Hello %s!" % username
# QUIZ: WHAT HAPPEN WHEN YOU VISIT
# http://localhost:5000/user
localhost:5000/user/kiawin
WHO AM I
Hello kiawin!
PROG* - MOOOOOOORE~
# FRUIT TIME!
from flask import Flask
app = Flask(__name__)
@app.route("/fruit/<fruit_name>")
def fruit(fruit_name):
if fruit_name in ["durian", "jackfruit"]:
return "Nooooo..."
else:
return "Yummy..."
# QUIZ: WHAT HAPPEN IF YOU VISIT
# http://localhost:5000/
localhost:5000/fruit/durian
KING OF FRUITS
Nooooo...
localhost:5000/fruit/mangosteen
HOW ABOUT MANGOSTEEN
Yummy...
localhost:5000/fruit/DURIAN
WHAT IF?
Nooooo...
PROG* - MOOOOOOORE~
# FrUiT TiMe!
from flask import Flask
app = Flask(__name__)
@app.route("/fruit/<fruit_name>")
def fruit(fruit_name):
if fruit_name.lower() in ["durian", "jackfruit"]
return "Nooooo..."
else:
return "Yummy..."
STUFF*
SLIDES
slideshare.net/kiawin/learning-python-with-flask
SOURCE
flask.pocoo.org/docs/0.12/quickstart
Q&A*
ASK US ANYTHING

Mais conteúdo relacionado

Destaque

Webinar - Bringing Game Changing Insights with Graph Databases
Webinar - Bringing Game Changing Insights with Graph DatabasesWebinar - Bringing Game Changing Insights with Graph Databases
Webinar - Bringing Game Changing Insights with Graph DatabasesDataStax
 
Learn flask in 90mins
Learn flask in 90minsLearn flask in 90mins
Learn flask in 90minsLarry Cai
 
Les micro orm, alternatives à entity framework
Les micro orm, alternatives à entity frameworkLes micro orm, alternatives à entity framework
Les micro orm, alternatives à entity frameworkMSDEVMTL
 
Tracxn Research - Industrial Robotics Landscape, February 2017
Tracxn Research - Industrial Robotics Landscape, February 2017Tracxn Research - Industrial Robotics Landscape, February 2017
Tracxn Research - Industrial Robotics Landscape, February 2017Tracxn
 
Tracxn Research - Mobile Advertising Landscape, February 2017
Tracxn Research - Mobile Advertising Landscape, February 2017Tracxn Research - Mobile Advertising Landscape, February 2017
Tracxn Research - Mobile Advertising Landscape, February 2017Tracxn
 
Introducing NoSQL and MongoDB to complement Relational Databases (AMIS SIG 14...
Introducing NoSQL and MongoDB to complement Relational Databases (AMIS SIG 14...Introducing NoSQL and MongoDB to complement Relational Databases (AMIS SIG 14...
Introducing NoSQL and MongoDB to complement Relational Databases (AMIS SIG 14...Lucas Jellema
 
2015 Internet Trends Report
2015 Internet Trends Report2015 Internet Trends Report
2015 Internet Trends ReportIQbal KHan
 
Build a Website on AWS for Your First 10 Million Users
Build a Website on AWS for Your First 10 Million UsersBuild a Website on AWS for Your First 10 Million Users
Build a Website on AWS for Your First 10 Million UsersAmazon Web Services
 
Webinar: Fighting Fraud with Graph Databases
Webinar: Fighting Fraud with Graph DatabasesWebinar: Fighting Fraud with Graph Databases
Webinar: Fighting Fraud with Graph DatabasesDataStax
 
Build an App on AWS for Your First 10 Million Users
Build an App on AWS for Your First 10 Million UsersBuild an App on AWS for Your First 10 Million Users
Build an App on AWS for Your First 10 Million UsersAmazon Web Services
 
GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...
GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...
GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...Oleg Shalygin
 
Python and Flask introduction for my classmates Презентация и введение в flask
Python and Flask introduction for my classmates Презентация и введение в flaskPython and Flask introduction for my classmates Презентация и введение в flask
Python and Flask introduction for my classmates Презентация и введение в flaskNikita Lozhnikov
 
2017.3國防醫分享「嚼不嚼檳榔? 健康不平等背後的社會與族群」
2017.3國防醫分享「嚼不嚼檳榔?健康不平等背後的社會與族群」2017.3國防醫分享「嚼不嚼檳榔?健康不平等背後的社會與族群」
2017.3國防醫分享「嚼不嚼檳榔? 健康不平等背後的社會與族群」Ching-wen Lu
 
O que é esse tal de rest? [PyBR2016]
O que é esse tal de rest? [PyBR2016]O que é esse tal de rest? [PyBR2016]
O que é esse tal de rest? [PyBR2016]Filipe Ximenes
 
DJANGO-REST-FRAMEWORK: AWESOME WEB-BROWSABLE WEB APIS
DJANGO-REST-FRAMEWORK: AWESOME WEB-BROWSABLE WEB APISDJANGO-REST-FRAMEWORK: AWESOME WEB-BROWSABLE WEB APIS
DJANGO-REST-FRAMEWORK: AWESOME WEB-BROWSABLE WEB APISFernando Rocha
 
Como um verdadeiro sistema REST funciona: arquitetura e performance na Abril
Como um verdadeiro sistema REST funciona: arquitetura e performance na AbrilComo um verdadeiro sistema REST funciona: arquitetura e performance na Abril
Como um verdadeiro sistema REST funciona: arquitetura e performance na AbrilLuis Cipriani
 
LvivPy - Flask in details
LvivPy - Flask in detailsLvivPy - Flask in details
LvivPy - Flask in detailsMax Klymyshyn
 
Boas práticas de django
Boas práticas de djangoBoas práticas de django
Boas práticas de djangoFilipe Ximenes
 

Destaque (20)

Webinar - Bringing Game Changing Insights with Graph Databases
Webinar - Bringing Game Changing Insights with Graph DatabasesWebinar - Bringing Game Changing Insights with Graph Databases
Webinar - Bringing Game Changing Insights with Graph Databases
 
Learn flask in 90mins
Learn flask in 90minsLearn flask in 90mins
Learn flask in 90mins
 
Google Home
Google HomeGoogle Home
Google Home
 
Les micro orm, alternatives à entity framework
Les micro orm, alternatives à entity frameworkLes micro orm, alternatives à entity framework
Les micro orm, alternatives à entity framework
 
Tracxn Research - Industrial Robotics Landscape, February 2017
Tracxn Research - Industrial Robotics Landscape, February 2017Tracxn Research - Industrial Robotics Landscape, February 2017
Tracxn Research - Industrial Robotics Landscape, February 2017
 
Tracxn Research - Mobile Advertising Landscape, February 2017
Tracxn Research - Mobile Advertising Landscape, February 2017Tracxn Research - Mobile Advertising Landscape, February 2017
Tracxn Research - Mobile Advertising Landscape, February 2017
 
Introducing NoSQL and MongoDB to complement Relational Databases (AMIS SIG 14...
Introducing NoSQL and MongoDB to complement Relational Databases (AMIS SIG 14...Introducing NoSQL and MongoDB to complement Relational Databases (AMIS SIG 14...
Introducing NoSQL and MongoDB to complement Relational Databases (AMIS SIG 14...
 
2015 Internet Trends Report
2015 Internet Trends Report2015 Internet Trends Report
2015 Internet Trends Report
 
Build a Website on AWS for Your First 10 Million Users
Build a Website on AWS for Your First 10 Million UsersBuild a Website on AWS for Your First 10 Million Users
Build a Website on AWS for Your First 10 Million Users
 
Webinar: Fighting Fraud with Graph Databases
Webinar: Fighting Fraud with Graph DatabasesWebinar: Fighting Fraud with Graph Databases
Webinar: Fighting Fraud with Graph Databases
 
Build an App on AWS for Your First 10 Million Users
Build an App on AWS for Your First 10 Million UsersBuild an App on AWS for Your First 10 Million Users
Build an App on AWS for Your First 10 Million Users
 
GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...
GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...
GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...
 
Python and Flask introduction for my classmates Презентация и введение в flask
Python and Flask introduction for my classmates Презентация и введение в flaskPython and Flask introduction for my classmates Презентация и введение в flask
Python and Flask introduction for my classmates Презентация и введение в flask
 
2017.3國防醫分享「嚼不嚼檳榔? 健康不平等背後的社會與族群」
2017.3國防醫分享「嚼不嚼檳榔?健康不平等背後的社會與族群」2017.3國防醫分享「嚼不嚼檳榔?健康不平等背後的社會與族群」
2017.3國防醫分享「嚼不嚼檳榔? 健康不平等背後的社會與族群」
 
O que é esse tal de rest? [PyBR2016]
O que é esse tal de rest? [PyBR2016]O que é esse tal de rest? [PyBR2016]
O que é esse tal de rest? [PyBR2016]
 
Como fazer boas libs
Como fazer boas libs Como fazer boas libs
Como fazer boas libs
 
DJANGO-REST-FRAMEWORK: AWESOME WEB-BROWSABLE WEB APIS
DJANGO-REST-FRAMEWORK: AWESOME WEB-BROWSABLE WEB APISDJANGO-REST-FRAMEWORK: AWESOME WEB-BROWSABLE WEB APIS
DJANGO-REST-FRAMEWORK: AWESOME WEB-BROWSABLE WEB APIS
 
Como um verdadeiro sistema REST funciona: arquitetura e performance na Abril
Como um verdadeiro sistema REST funciona: arquitetura e performance na AbrilComo um verdadeiro sistema REST funciona: arquitetura e performance na Abril
Como um verdadeiro sistema REST funciona: arquitetura e performance na Abril
 
LvivPy - Flask in details
LvivPy - Flask in detailsLvivPy - Flask in details
LvivPy - Flask in details
 
Boas práticas de django
Boas práticas de djangoBoas práticas de django
Boas práticas de django
 

Semelhante a Learning python with flask (PyLadies Malaysia 2017 Workshop #1)

Learning Python from Data
Learning Python from DataLearning Python from Data
Learning Python from DataMosky Liu
 
Introduction to Python3 Programming Language
Introduction to Python3 Programming LanguageIntroduction to Python3 Programming Language
Introduction to Python3 Programming LanguageTushar Mittal
 
Python于Web 2.0网站的应用 - QCon Beijing 2010
Python于Web 2.0网站的应用 - QCon Beijing 2010Python于Web 2.0网站的应用 - QCon Beijing 2010
Python于Web 2.0网站的应用 - QCon Beijing 2010Qiangning Hong
 
The state of PHPUnit
The state of PHPUnitThe state of PHPUnit
The state of PHPUnitEdorian
 
Pycon2017 instagram keynote
Pycon2017 instagram keynotePycon2017 instagram keynote
Pycon2017 instagram keynoteLisa Guo
 
Save time by applying clean code principles
Save time by applying clean code principlesSave time by applying clean code principles
Save time by applying clean code principlesEdorian
 
Is writing performant code too expensive?
Is writing performant code too expensive? Is writing performant code too expensive?
Is writing performant code too expensive? Tomasz Kowalczewski
 
Making the most of 2.2
Making the most of 2.2Making the most of 2.2
Making the most of 2.2markstory
 
Mastering Python lesson 3a
Mastering Python lesson 3aMastering Python lesson 3a
Mastering Python lesson 3aRuth Marvin
 
Python lab basics
Python lab basicsPython lab basics
Python lab basicsAbi_Kasi
 
Introduction to Python and TensorFlow
Introduction to Python and TensorFlowIntroduction to Python and TensorFlow
Introduction to Python and TensorFlowBayu Aldi Yansyah
 
JavaOne 2013: Java 8 - The Good Parts
JavaOne 2013: Java 8 - The Good PartsJavaOne 2013: Java 8 - The Good Parts
JavaOne 2013: Java 8 - The Good PartsKonrad Malawski
 
Writing Apps the Google-y Way
Writing Apps the Google-y WayWriting Apps the Google-y Way
Writing Apps the Google-y WayPamela Fox
 
Introduction to Python 01-08-2023.pon by everyone else. . Hence, they must be...
Introduction to Python 01-08-2023.pon by everyone else. . Hence, they must be...Introduction to Python 01-08-2023.pon by everyone else. . Hence, they must be...
Introduction to Python 01-08-2023.pon by everyone else. . Hence, they must be...DRVaibhavmeshram1
 

Semelhante a Learning python with flask (PyLadies Malaysia 2017 Workshop #1) (20)

Learning Python from Data
Learning Python from DataLearning Python from Data
Learning Python from Data
 
Introduction to Python3 Programming Language
Introduction to Python3 Programming LanguageIntroduction to Python3 Programming Language
Introduction to Python3 Programming Language
 
Python于Web 2.0网站的应用 - QCon Beijing 2010
Python于Web 2.0网站的应用 - QCon Beijing 2010Python于Web 2.0网站的应用 - QCon Beijing 2010
Python于Web 2.0网站的应用 - QCon Beijing 2010
 
The state of PHPUnit
The state of PHPUnitThe state of PHPUnit
The state of PHPUnit
 
Python slide
Python slidePython slide
Python slide
 
Pycon2017 instagram keynote
Pycon2017 instagram keynotePycon2017 instagram keynote
Pycon2017 instagram keynote
 
Save time by applying clean code principles
Save time by applying clean code principlesSave time by applying clean code principles
Save time by applying clean code principles
 
Python Part 1
Python Part 1Python Part 1
Python Part 1
 
Is writing performant code too expensive?
Is writing performant code too expensive? Is writing performant code too expensive?
Is writing performant code too expensive?
 
Swift for tensorflow
Swift for tensorflowSwift for tensorflow
Swift for tensorflow
 
Php 7 evolution
Php 7 evolutionPhp 7 evolution
Php 7 evolution
 
Making the most of 2.2
Making the most of 2.2Making the most of 2.2
Making the most of 2.2
 
Mastering Python lesson 3a
Mastering Python lesson 3aMastering Python lesson 3a
Mastering Python lesson 3a
 
Python lab basics
Python lab basicsPython lab basics
Python lab basics
 
Python 101 1
Python 101   1Python 101   1
Python 101 1
 
Introduction to Python and TensorFlow
Introduction to Python and TensorFlowIntroduction to Python and TensorFlow
Introduction to Python and TensorFlow
 
Java 8: the good parts!
Java 8: the good parts!Java 8: the good parts!
Java 8: the good parts!
 
JavaOne 2013: Java 8 - The Good Parts
JavaOne 2013: Java 8 - The Good PartsJavaOne 2013: Java 8 - The Good Parts
JavaOne 2013: Java 8 - The Good Parts
 
Writing Apps the Google-y Way
Writing Apps the Google-y WayWriting Apps the Google-y Way
Writing Apps the Google-y Way
 
Introduction to Python 01-08-2023.pon by everyone else. . Hence, they must be...
Introduction to Python 01-08-2023.pon by everyone else. . Hence, they must be...Introduction to Python 01-08-2023.pon by everyone else. . Hence, they must be...
Introduction to Python 01-08-2023.pon by everyone else. . Hence, they must be...
 

Mais de Sian Lerk Lau

Solving performance issues in Django ORM
Solving performance issues in Django ORMSolving performance issues in Django ORM
Solving performance issues in Django ORMSian Lerk Lau
 
The journey of an (un)orthodox optimization
The journey of an (un)orthodox optimizationThe journey of an (un)orthodox optimization
The journey of an (un)orthodox optimizationSian Lerk Lau
 
Velocity. Agility. Python. (Pycon APAC 2017)
Velocity. Agility. Python. (Pycon APAC 2017)Velocity. Agility. Python. (Pycon APAC 2017)
Velocity. Agility. Python. (Pycon APAC 2017)Sian Lerk Lau
 
DevOps - Myth or Real
DevOps - Myth or RealDevOps - Myth or Real
DevOps - Myth or RealSian Lerk Lau
 
Quality of life through Unit Testing
Quality of life through Unit TestingQuality of life through Unit Testing
Quality of life through Unit TestingSian Lerk Lau
 
Install Archlinux in 10 Steps (Sort of) :)
Install Archlinux in 10 Steps (Sort of) :)Install Archlinux in 10 Steps (Sort of) :)
Install Archlinux in 10 Steps (Sort of) :)Sian Lerk Lau
 

Mais de Sian Lerk Lau (6)

Solving performance issues in Django ORM
Solving performance issues in Django ORMSolving performance issues in Django ORM
Solving performance issues in Django ORM
 
The journey of an (un)orthodox optimization
The journey of an (un)orthodox optimizationThe journey of an (un)orthodox optimization
The journey of an (un)orthodox optimization
 
Velocity. Agility. Python. (Pycon APAC 2017)
Velocity. Agility. Python. (Pycon APAC 2017)Velocity. Agility. Python. (Pycon APAC 2017)
Velocity. Agility. Python. (Pycon APAC 2017)
 
DevOps - Myth or Real
DevOps - Myth or RealDevOps - Myth or Real
DevOps - Myth or Real
 
Quality of life through Unit Testing
Quality of life through Unit TestingQuality of life through Unit Testing
Quality of life through Unit Testing
 
Install Archlinux in 10 Steps (Sort of) :)
Install Archlinux in 10 Steps (Sort of) :)Install Archlinux in 10 Steps (Sort of) :)
Install Archlinux in 10 Steps (Sort of) :)
 

Último

Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 

Último (20)

Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 

Learning python with flask (PyLadies Malaysia 2017 Workshop #1)

Notas do Editor

  1. Python isnt made for web. It’s a general purpose scripting language. Can do many things with it. Compared to PHP, it’s made for web dev. That’s why flask come in, to be able to write web using Python. Micro means so simple and doesnt include any extra things. But you can add them as you want.