Video description
Ever wanted to learn one of the most popular programming languages on the planet? Why not learn two of the most popular at the same time?
Python and SQL are widely used by small to large technology companies thanks to their powerful, yet extremely flexible features. While Python is used in the industry for embedded software, web development, desktop applications, and mobile apps, PostgreSQL allows your applications to become even more powerful by storing, retrieving, and filtering through large datasets easily. This course is your one-stop-shop for everything Python and PostgreSQL. You’ll advance from an absolute Python and PostgreSQL beginner to an experienced software developer.
Get ready to transform your world and become a super-confident app developer!
What You Will Learn
- Extend Python applications by using professional data storage — PostgreSQL
- Understand advanced concepts, such as data structures and algorithms, that are extremely useful in jobs and interviews
Audience
If you’re a complete beginner to programming and Python, this course will provides concise explanations with hands-on projects. Intermediate programmers will be able to fly through the first couple of sections and quickly learn about PostgreSQL and advanced Python concepts. This course is likely not for advanced programmers, although it has a lot of useful information that will serve as a reference!
About The Authors
Codestars By Rob Percival: Codestars, by Rob Percival, is a revolutionary online learning platform on a mission to transform the way people learn to code. With a focus on simplicity, logic, and fun, Rob has empowered over half a million students through his courses.
Recognizing the need for diverse and comprehensive learning experiences, Rob established Codestars as a collaborative effort. Codestars provides learners of all ages and proficiency levels with the tools and knowledge needed to build functional websites and apps. By making coding accessible and enjoyable, Codestars aims to simplify the learning journey and unlock the potential of aspiring coders worldwide.
Jose Salvatierra Fuentes: Jose Salvatierra has been teaching online for over seven years, and he loves helping students learn to code and master software development. He founded Teclado to bring software development to everyone; his objective is for you to truly understand everything that goes on behind the scenes.
Coding is extremely rewarding. As you learn, things start to click and make sense. You can join the dots of all the things that weren’t quite clear before.
Jose can help you with Python and JavaScript issues, particularly in web and backend development. He is experienced with programming libraries and frameworks such as Flask, React, React Native, and AngularJS. He has worked extensively with UNIX systems, MongoDB, PostgreSQL, and advanced system architecture design.
Table of contents
- Chapter 1 : Installing Python
- Chapter 2 : Python 101
-
Chapter 3 : Magic Numbers in Python
- Lists in Python
- The for loop in Python
- Boolean expressions, True and False
- If statements in Python
- The 'in' keyword to check whether a list contains an element
- Giving the user multiple chances in our program
- Generating random integers in Python
- Defining our own methods in Python
- Returning values from our methods in Python
- Chapter 4 : A Lottery app
-
Chapter 5 : More complex applications: a student registration system
- Installing PyCharm, a professional Python tool
- Setting up PyCharm on Mac
- Setting up PyCharm on Windows
- Dictionaries in Python
- Advanced Dictionary usage in Python
- Methods returning dictionaries
- Appending to a list in Python
- Adding marks to our student data structure
- The sum() method in Python
- Iterating over a dictionary's keys and values
- Creating the application menu
-
Chapter 6 : Object-Oriented Programming: a movie rental system
- What are classes? Classes in Python
- The Movie Class
- The User Class (and the __repr__ method)
- The filter() method in Python
- More Movie operations and methods
- Writing to a file in Python
- Saving CSV files with our data
- Loading our data from CSV files
- Saving JSON files with our data
- Loading our data from JSON files
- Argument unpacking in Python (the two asterisks)
- Creating the menu for our application
-
Chapter 7 : Introduction to PostgreSQL
- Introduction to databases
- Installing PostgreSQL on Windows
- Using PostgreSQL on Windows
- Executing SQL queries on Windows
- Installing PostgreSQL on Mac
- Using PostgreSQL on Mac
- Executing SQL commands on Mac
- Using the sample data provided
- SQL: The SELECT command
- SQL: filtering with WHERE
- SQL: LIMIT for limiting the number of results
- SQL: UPDATE data in a table
- SQL: DELETE data from a table
- SQL Wildcards for filtering unknowns
- What is a JOIN?
- SQL: JOINs and JOIN examples
- SQL: GROUP BY for aggregation of data
- SQL: ORDER BY for sorting data
- SQL: CREATE TABLE
- SQL: INSERT INTO for adding data to a table
- SQL: SEQUENCE for auto-incrementing fields
- SQL: CREATE INDEX and advanced information about indexes
- SQL: DROP TABLE for deleting tables and data
- Chapter 8 : Advanced PostgreSQL
-
Chapter 9 : Python and PostgreSQL
- Installing psycopg2 on Windows (2018 update)
- Installing psycopg2 on Windows (older versions)
- Installing psycopg2 on Mac
- Verifying everything works—don't proceed if it doesn't!
- Mac OS X: Fixing psycopg2 'library not loaded' error
- What is a virtual environment?
- psycopg2 on a virtualenv on Windows (2018 update)
- Psycopg2 on a virtualenv on Windows (older versions)
- Setting up the app structure, pip, and requirements.txt
- Recap on classes and object-oriented programming
- Saving to database from Python
- Loading from the database from Python
- Removing some duplicate code from our app
- Connection pooling and why it is important
- Creating the ConnectionPool class
- Creating the ConnectionFromPool class
- Obtaining a cursor from the ConnectionFromPool class
- The Database class and selective initialisation
- Cleaning up the Database class
- End of section review
-
Chapter 10 : Python Web and APIs
- What is an API?
- Making requests in Python
- What is OAuth?
- Creating a Twitter app
- Setting up Twitter login
- Getting the OAuth request token
- More on the Python debugger—an essential tool
- Getting authorization by the user
- Getting the OAuth access token
- Performing Twitter requests: getting images
- Reusing code from the last section to save users
- Creating users in our app
- Retrieving users in our app
- Cleaning up the code—extremely important!
- Introduction to Flask and Python Web Development
- Adding a Twitter login endpoint
- Adding Twitter authorization
- Creating the user profile
- The Flask before_request decorator
- Checking if a user is already logged in
- Searching tweets and displaying them
- Searching for different things
- What is Bootstrap?
- Writing our own CSS
- Allowing users to perform custom searches
- Adding sentiment analysis with another API
-
Chapter 11 : Introduction to Git and GitHub
- What is Git?
- Installing Git on Mac and Windows
- Introduction to the UNIX terminal
- The VIM text editor, a powerful terminal editor
- Dealing with files in the UNIX terminal
- What is a Git repository?
- git init — create a Git repository
- git add and git commit — staging and committing
- git log — viewing past commits
- Creating a repository on GitHub
- git remote — managing remote repositories
- Adding your SSH key to GitHub
- What is a README file? Introduction to Markdown
- git pull — pulling other's changes
-
Chapter 12 : Advanced Python
- OOP: Inheritance
- OOP: Multiple Inheritance in Python
- OOP: What is composition?
- OOP: What is encapsulation?
- Introduction to Exceptions in Python
- Creating our own Exceptions
- Some of the available built-in Exceptions
- Python built-in methods
- Assertions in Python
- Lambda expressions in Python
- More uses of lambda expressions
- Lambda expressions in the wild
- Introduction to unit testing with unittest
-
Chapter 13 : Data Structures and Algorithms
- What are data structures?
- What is a Linked List?
- Introduction to Linked List Assignment
- Programming our own Linked List in Python
- Creating a Queue
- Introduction to Queue Assignment
- Programming our own Queue in Python
- Creating a Stack
- Introduction to Stack Assignment
- Programming our own Stack in Python
- Creating a Binary Tree
- Introduction to Binary Tree Assignment
- Programming our own Binary Tree in Python
Product information
- Title: The Complete Python and PostgreSQL Developer Course
- Author(s):
- Release date: July 2019
- Publisher(s): Packt Publishing
- ISBN: 9781789957488
You might also like
book
Learn PostgreSQL
A comprehensive guide to building, managing, and securing scalable and reliable database and data warehousing applications …
video
The Complete Python Course
With its increasing popularity in the last few years, the demand for Python skills in the …
video
Data Engineering with Python and AWS Lambda LiveLessons
7 Hours of Video Instruction Data Engineering with Python and AWS Lambda LiveLessons shows users how …
book
Learn Python by Building Data Science Applications
Understand the constructs of the Python programming language and use them to build data science projects …