Python and Flask Course: Build Python Web Apps
0.0 (0 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
19 students enrolled

Python and Flask Course: Build Python Web Apps

Learn to build dynamic web applications using Python and Flask with this practical course
0.0 (0 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
19 students enrolled
Created by Packt Publishing
Last updated 3/2019
English
English [Auto]
Current price: $139.99 Original price: $199.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 9 hours on-demand video
  • 1 downloadable resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Understand Python variables and operators and learn how to use them to simulate a simple app such as a calculator
  • Execute program control flows and loops in Python to create your own simple mini-games
  • Implement the List and Dictionary data types to take text as input and produce a word count
  • Work with Python Modules to create a web scraping app in Python
  • Handle files using your Python code to build your own Python-based text editor
  • Develop a To-do, social media, and file sharing application using Flask
Course content
Expand all 71 lectures 09:09:44
+ Begin Python Programming in 7 Days
35 lectures 03:02:16

This video provides an overview of the entire course.

Preview 01:58

Illustrate the main tenets of programming in Python: the language and the editors.

  • Learn what Python is

  • Learn how to get started with Python

  • Create Python code

Installing Python and Code Editor
09:17

Show what a command line is and how to use it.

  • Learn what REPL is

  • Learn what IPython is

Getting Familiar with Command Line
06:46

Demonstrate how we can write our own Python program and run it.

  • Write your first Python program

  • Run it

Writing and Running Your First Python Program
04:31

Demonstrate the basic syntax of Python.

  • Work with numbers

  • Work with strings

  • Work with lists

Understanding Basic Syntax
05:53

This video is your assignment for Day 1

  • Take a look at the assignment and try solving it on your own before the next section

Assignment Day 1
01:40

Show how variables are used and created in Python.

  • Understand variables

  • Create variables

Preview 09:37

Demonstrate the uses of variables.

  • Assign values to variables

  • Check the type of variables

Using Variables in Code
06:44

Show how operators are defined in Python.

  • Learn what operators are

  • Explore some of the useful Python operators

Understanding Python Operators
05:00

Show how operators are used in Python.

  • Chain operators and use parenthesis to group them

  • Assign expressions to variables

Usage of Python Operators
04:41

This video is your assignment for Day 2

  • Take a look at the assignment and try solving it on your own before the next section

Assignment Day 2
02:07

Define control statements.

  • Learn about control statements

  • Explore the if statement

  • Explore the if else statement

Introducing Control Statements
08:36

Show how we can use control statements in practice.

  • Use control statements

  • Use the if statement to detect input

  • Use elif and else to detect input

Usage of Control Statements
05:28

Define loops.

  • Understand what loops are

  • Understand the while loop

  • Learn about the for loop

Understand Loops
05:56

Show how we can use loops in practice.

  • Learn how to use loops

  • Loop through a list with a while loop

  • Loop through a list with a for loop

Use Loops in Your Python Code
03:24

This video is your assignment for Day 3

  • Take a look at the assignment and try solving it on your own before the next section

Assignment Day 3
01:29

A deeper dive into Python lists.

  • Learn what we can do and cannot do with lists

  • Go through nested lists

Introducing Python Lists
06:12

Show how we can operate on lists and call its methods.

  • Index lists with slices

  • Differentiate between extending and appending

  • Go through length, sort, and reverse

List Operators, Functions, and Methods
06:42

Introduce the concept of dictionary.

  • Learn what a dictionary is

  • Create a dictionary

Introducing the Dictionary Data Type
04:27

Show how we can operate on dicts and call methods.

  • Loop through the items of a dictionary

  • Remove keys and add new keys

Dictionary Operators, Functions, and Methods
05:34

This video is your assignment for Day 4

  • Take a look at the assignment and try solving it on your own before the next section

Assignment Day 4
01:45

This video is an introduction to functions.

  • Learn what functions are

  • Declare functions

  • Return values

Introducing Functions
09:32

In this video, we will be looking into the usage of functions in your code.

  • Use functions

  • Smartly put code in functions

Usage of Functions in Your Code
04:22

This video is all about scope of variables.

  • Learn what scoping is

  • Learn how Python handles scoping

Understanding Scope of Variables
04:35

Go through an example.

  • Global variables versus local variables

  • Go through the demonstration

Example Code for a Scope of Variable Demonstration
03:48

This video is your assignment for Day 5

  • Take a look at the assignment and try solving it on your own before the next section

Assignment Day 5
01:57

This video will show you the importance of Python modules.

  • Learn what modules are

  • Learn why to use modules

  • Create modules

Python Modules
07:15

In this video, we will be using third-party Python modules.

  • Learn where to find third-party modules

  • Understand pip

Using Third-Party Python Modules
05:11

Learn about compiled Python files.

  • Go through Python bytecode

  • Take a look at bytecode

Compiling Python Files
06:10

In this video, we will be using Python packages.

  • Explore some modules that come with Python

  • Go through collections, string, and others

Using Python Packages
04:54

This video is your assignment for Day 6

  • Take a look at the assignment and try solving it on your own before the next section

Assignment Day 6
03:23

Understand how to read text from a file.

  • Path handling in python

  • Read files into a variable

  • Read lines into a variable

Reading Text from a File
09:41

In this video, we will be writing text to a file.

  • Merge strings in Python

  • Understand filesystem mechanics

  • Write text into a file

Writing Text to a File
05:32

See how exceptions are handled.

  • Learn what might go wrong

  • Learn how to catch errors

Handling Exceptions
05:18

This video is your assignment for Day 7

  • Take a look at the assignment and try solving it on your own

Assignment Day 7
02:51
Test Your Knowledge
5 questions
+ Application Development with Python and Flask
36 lectures 06:07:28

This video provides an overview of the entire course.

Preview 03:33

In this video, we introduce the web framework Flask.

  • Learn about web frameworks

  • Explore the available frameworks

  • Discover Flask

Understanding Flask
03:37

In this video, we look at how to setup the python environment on Windows.

  • Explore the windows command prompt

  • Install python on windows

  • Setup a virtual environment

Setting Up Mac OS X for Flask
08:44

We look at how to setup the python environment on Linux.

  • Explore the Unix bash

  • Use python in bash

  • Setup a virtual environment

Setting Up Linux for Flask
08:06

In this video, we will look at how to set up for Windows.

  • Explore the Unix bash

  • Use python in bash

  • Setup a virtual environment

Setting Up Windows for Flask
08:47

In this video we begin developing a simple hello world application.

  • Get familiar with the editor

  • Install Flask

  • Start writing code

Building Your First Application
11:27

In this video we look at what web frameworks are and how they help developers develop web applications.

  • Define web framework

  • Look at available frameworks

  • Look at how to use a framework

What Is a Web Framework?
10:08

In this video we will look at the MVT and how it works.

  • Look at the MVC pattern

  • Look at the MVT pattern

  • Look at how to use MVT

Working with the Model View Template
07:34

aIn this video we will start working with Flask views and also we will look at how they work.

  • Get familiar with request and response

  • Get familiar with Flask views

  • Code simple views

Working with Flask Views
07:25

In this video we look at Flask templates and how to use the Jinja templating engine.

  • Get familiar with Templates in Flask

  • Familiarize with Jinja Templates

  • Create some templates

Working with Flask Templates
05:12

In this video we look at the concept of a model in Flask.

  • Understand the concept of Models

  • Look at persistence options

  • Code the first model

Working with Models
03:36

In this video we look at how the web works.

  • Get familiar with the web

  • Look at how it works

  • Understand request/response cycle

How to Make the Web Work
06:49

In this video, we start working with HTML5.

  • Look at web structure

  • Familiarize with HTML5

  • Write some HTML5 code

Understanding HTML5
06:52

In this video add CSS to our HTML pages.

  • Understand Web styling

  • Look at CSS

  • Write some CSS code

Adding CSS3
08:01

In this video, we implement JavaScript.

  • Explore JavaScript

  • Look at JavaScript

  • Code simple JavaScript scripts

Implementing JavaScript
08:26

In this video, we look at the Bootstrap framework.

  • Get familiar with web design

  • Explore the bootstrap framework

  • Look at some bootstrap classes

Working with Bootstrap
11:57

In this video we look at the differences between Python 2 and 3.

  • Get familiar with the history of Python

  • Look at Python 2 and Python 3

  • Make a design

Exploring Python 2 versus Python 3
09:24

In this video we look at Python classes.

  • Look at Object Oriented Programming

  • Look at Python classes

  • Look at objects in Python

Understanding Python Functions
05:51

In this video we look at python decorators.

  • Look at Python methods

  • Look at how decorators work

  • Look at some decorators

Understanding Python Classes
04:08

In this video we start working with SQL.

  • Get familiar with databases

  • Look at database languages

  • Look at SQL

Understanding Python Decorators
02:35

We will cover architecture patterns, MVC, and MVT.

  • Explain the architecture patterns

  • Explore the MVC

  • Look at MVT

Working with SQL and Python
03:38

In this video we look at ORMs and flask - SQLAlchemy.

  • Get familiar with object relational mappers

  • Explore SQL with ORMs

  • Install flask - SQLAlchemy

Understanding Flask – SQLAlchemy
03:32

In this video we look at the application to be built.

  • Get familiar with the application

  • Look at what the application should do

  • Set some goals

Understanding the Application
02:14

In this video, we set up the environment.

  • Get familiar with the tools

  • Look at application requirements

  • Download the requirements

Setting Up the Project
13:42

We design a simple interface.

  • Find some design assets

  • Download the design assets

  • Design a simple interface

Designing a Simple Interface
15:58

In this video we set up the database models.

  • Look at the application’s data requirements

  • Code all the models

  • Create the database

Setting Up the Database Models
12:46

In this video we define all the views.

  • Identify essential views

  • Start working with the views

  • Code the views

Defining All the Views
35:19

In this video, we work with application forms.

  • Understanding Flask forms

  • Install Flask-WTF

  • Create Flask forms

Working with Forms
22:37

In this video we finalize our application.

  • Test the application

  • Fix any bugs

  • Finalize the application

Finalizing the Application
28:14

In this video we look at the application to be built.

  • Get familiar with the application

  • Look at what the application should do

  • Set some goals

Understanding the Application
03:22

In this video we setup the environment and a simple interface.

  • Get familiar with the tools

  • Download the requirements

  • Design a simple interface

Setting Up the Basic Application and the Interface
18:32

In this video we create the user profile.

  • Identify what is needed

  • Design a simple profile

  • Code the logic for the profile

Working with the User Profile
15:41

In this video we code our first social post.

  • Look at the nature of posts

  • Understand relationships

  • Code the model

Coding the First Post
11:29

In this video we develop the application timeline.

  • Identify information to be shown

  • Start working with the view

  • Code the template

Working with the Timeline
09:38

In this video we work on adding comments to posts.

  • Look at the nature of comments on posts

  • Create relationship between post and comments

  • Migrate the database

Commenting on Posts
12:19

In this video we finalize our application.

  • Test the application

  • Fix any bugs

  • Finalize the application

Finalizing the Application
16:15
Test Your Knowledge
5 questions
Requirements
  • Familiarity with Python will be beneficial.
Description

Python is an easy to learn, powerful programming language. It’s elegant syntax and dynamic typing, together with its interpreted nature, makes it an ideal language for scripting and rapid application development. Flask is a popular Python web framework for developing web applications. If you’re a developer who wants to create powerful applications with Python and Flask, then go for this course.

This course will be your complete definitive guide for building fully functional web applications with the Python and Flask by learning all the essential skills required. You will begin with setting up the development environment. You will then learn the basic and advanced Python programming concepts for developing applications with the help of practical examples. Next, you will deep dive into the Flask framework where initially you will learn the programming techniques in Flask and then build a file sharing app, a To-do list app, and a social media application in Flask.

Contents and Overview

This training program includes 2 complete courses, carefully chosen to give you the most comprehensive training possible.

The first course, Begin Python Programming in 7 Days, begins with setting up your environment and the tools you need to start programming in Python. You will then learn about variables and operators and how to make use of them in Python programs. You will also learn all about control flow statements and loops in Python and will use them in your programs to solve your coding problems. Next, you will learn Python's data structures such as lists and dictionaries. You will able to organize in functions and save time coding by writing code that can be reused. Finally, you will learn about Python modules and how to make use of them.

The second course, Application Development with Python and Flask, will take you through Flask framework; it covers all its components and elements and how to integrate it with useful third-party libraries. You will download all you need to get started with Flask development and then delve straight into the frontend and backend development stack. You will then learn the general flow in developing a Flask application, including some extensions used by developing a simple application. You will also develop multiple applications such as To-do, social medias, and file sharing applications.

By the end of the course, you will be able to build your own web applications using Python and Flask.

Meet Your Expert(s):

We have the best work of the following esteemed author(s) to ensure that your learning journey is smooth:

  • Colibri Digital is a technology consultancy company founded in 2015 by James Cross and Ingrid Funie. The company works to help its clients navigate the rapidly changing and complex world of emerging technologies, with deep expertise in areas such as big data, data science, machine learning, and cloud computing. Over the past few years, they have worked with some of the world's largest and most prestigious companies, including a tier 1 investment bank, a leading management consultancy group, and one of the World's most popular soft drinks companies, helping each of them to make better sense of its data, and process it in more intelligent ways. The company lives by its motto: Data -> Intelligence -> Action.


  • Rudy Lai is the founder of QuantCopy, a sales acceleration startup using AI to write sales emails to prospects. By taking in leads from your pipelines, QuantCopy researches them online and generates sales emails from that data. It also has a suite of email automation tools to schedule, send, and track email performance—key analytics that all feed back into how our AI generated content. Prior to founding QuantCopy, Rudy ran HighDimension.IO, a machine learning consultancy, where he experienced first-hand the frustrations of outbound sales and prospecting. As a founding partner, he helped startups and enterprises with High Dimension, IO's Machine-Learning-as-a-Service, allowing them to scale up data expertise in the blink of an eye. In the first part of his career, Rudy spent 5+ years in quantitative trading at leading investment banks such as Morgan Stanley. This valuable experience allowed him to witness the power of data, but also the pitfalls of automation using data science and machine learning. Quantitative trading was also a great platform to learn deeply about reinforcement learning and supervised learning topics in a commercial setting.


  • Achim Takunda Munene is a Full-stack Python developer. He mainly works with the Flask framework, an Artificial Intelligence fanatic, a UI/UX designer who dreams elegant design, passionate gamer, style and fitness addict and just a great person to talk to.

Who this course is for:
  • This course is for developers who want to learn how to build web apps with Python. Students who are looking for a very practical implementation to learn the Flask framework can also take up this course.