O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Python for Everyday Life

Video Description

Make your day and master Python: a powerful and versatile language and ecosystem that can help you save time and money

About This Video

  • Automate business processes and daily tasks seamlessly.
  • Customize Python scripts to suit your demands in everyday spheres of work.
  • Unravel efficient coding practices that will save you time and money.

In Detail

Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python’s elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms.

This video course is about leveraging the Python programming language and its thriving ecosystem to save yourself time and money when doing common routine tasks. Nobody wants to do boring and time-consuming tasks: days have 24 hours and you should squeeze out the most of this time for yourself - automating the boring tasks gives you back time to focus on what you really like to do. Moreover, this is also the chance for you to learn a great general-purpose language such as Python, with which you can build very cool applications both at work and in your spare time.

By the end of this course you will have learned how to proficiently write structured Python code in a wide range of applications – from one-liner scripts to complex web applications – aiming at the automation of lots of common everyday life tasks.

All the code and supporting files for this course are available on Github at https://github.com/PacktPublishing/Python-for-Everyday-Life

Table of Contents

  1. Chapter 1 : Programmers Tooling
    1. The Course Overview 00:04:36
    2. The Benefits of Using Proper Programmer Tools 00:02:59
    3. Installing and Configuring PyCharm 00:04:34
    4. Keep Your Work Warm (and Safe) Using Git 00:08:32
    5. Setup of a Sample Python Project 00:06:10
  2. Chapter 2 : Finding the Right Tool for the Job
    1. Libraries: Never Reinvent the Wheel 00:04:20
    2. The Python Standard Library 00:05:43
    3. Searching for the Right Library to Do the Job 00:03:46
    4. Using Pip to Install Libraries 00:05:18
    5. Using Virtualenv to Isolate Environments 00:05:52
  3. Chapter 3 : Advanced Python Topics
    1. Logging 00:07:03
    2. Regular Expressions 00:06:40
    3. Function Decorators and Context Managers 00:06:48
    4. Generator Expressions and Generators 00:05:44
    5. Magic Methods 00:05:58
    6. Metaprogramming 00:06:40
    7. Functional Programming 00:07:15
    8. Pythonic Code Idioms 00:05:36
  4. Chapter 4 : Manipulate Files and Folders
    1. Walking and Filtering Folder Contents 00:08:42
    2. Renaming Files and Folders Based on Regular Expressions 00:12:24
    3. Detecting File Modifications Using Diffs and Hashes 00:11:14
    4. Compressing and Decompressing Files 00:08:53
    5. Encrypting Files with PyCryptodome 00:13:03
  5. Chapter 5 : Handle Common File Formats
    1. Reading and Writing Files 00:06:46
    2. CSV 00:06:30
    3. XML 00:07:38
    4. JSON and YAML 00:07:37
    5. Word DOCX 00:10:01
    6. Excel XLSX 00:09:33
    7. PDF 00:08:14
  6. Chapter 6 : Processing Images
    1. Reading and Showing Images with Pillow 00:06:26
    2. Cropping and Resizing Images 00:06:45
    3. Basic Image Filtering 00:06:27
    4. Image Watermarking 00:08:14
    5. Taking a Screenshot 00:03:33
    6. Parsing QR Codes 00:06:03
    7. Recognizing Faces in Pictures 00:09:21
  7. Chapter 7 : Interacting with Websites
    1. Downloading Web Content to Your Local Host Using Requests 00:11:36
    2. Scraping Websites Content with Beautifulsoup 00:13:28
    3. Scripting Your Browser with Selenium 00:10:27
  8. Chapter 8 : The Power of APIs
    1. Working with APIs 00:06:13
    2. Learning How to Interact with httpbin Test Service 00:15:51
    3. Fetching Cryptocurrencies Market Prices from the Coinmarketcap API 00:10:03
    4. Retrieving Weather Forecasts from the OpenWeatherMap API with PyOWM Client 00:14:46
  9. Chapter 9 : Automate Common Internet Tasks
    1. Reading and Sending Emails with Gmail 00:15:30
    2. Tweeting a Positive Message to the World with Twithon 00:08:26
    3. Tracking all of Your Personal Notes Using the Evernote API 00:14:03
    4. Watching for Topics on the Python Reddit RSS Feed 00:07:53
    5. Using Firebase Cloud Messaging to Send a Push Notification to Your Android Apps with PyFCM 00:12:53
    6. Sending a Text SMS via Twilio with Twilio Client 00:05:26
    7. Backing Up on Dropbox Your Local Data Folders with Dropbox Client 00:10:25
  10. Chapter 10 : Anatomy of a Web Application
    1. Introduction to Web Applications 00:05:40
    2. Web Applications Fundamentals 00:09:32
    3. Using MVC Frameworks 00:07:53
    4. Meet Flask and Django 00:12:31
  11. Chapter 11 : Build a Simple Static Website Using Flask and Bootstrap
    1. Starting Up the Project 00:10:25
    2. Preparing the Static Pages 00:11:42
    3. Coding the Flask Views 00:17:22
    4. Creating a Protected Area and Handling User Authentication with a Credential Form 00:11:25
    5. Testing the Website 00:11:52
  12. Chapter 12 : Python and Databases
    1. How a Database Works 00:12:02
    2. SQLite, a Python-Friendly Database 00:06:00
    3. Creating and Querying a Sample Dataset on SQLite 00:22:06
    4. Object-Relational Mappers: Mapping Database Tables to Objects 00:07:22
    5. Exploring a Simple Data Model Through the Django ORM 00:16:12
  13. Chapter 13 : Publish Your Curriculum Vitae as an API on Django
    1. Designing the Data Model 00:08:59
    2. Designing the API Endpoints 00:09:46
    3. Coding the Django Models and Setting Up the SQLite Database 00:16:35
    4. The Django Admin 00:17:12
    5. Coding the Django Views and Setting URL Routes 00:27:33
    6. Putting It All Together and Testing with HTTPie 00:11:51
  14. Chapter 14 : A Facebook Messenger Bot Based on Flask and Heroku
    1. Designing a Bot That Can Answer Questions About Cryptocurrency Prices 00:07:40
    2. Bot Behavior and Endpoints 00:17:50
    3. Deploy the Bot on Heroku 00:15:33
    4. Bind the Bot to a Facebook Page and Test It 00:16:48
  15. Chapter 15 : Datasets Manipulation and Visualization with Jupyter and Pandas
    1. Installing Jupyter and Managing a Notebook 00:07:24
    2. Pandas Data Structures 00:17:03
    3. Reading and Writing Datasets 00:09:07
    4. Cleaning and Manipulating Datasets 00:17:08
    5. Visualizing Datasets 00:22:11
  16. Chapter 16 : Getting Insights from Your Datasets
    1. Building a Cryptocurrency Prices Dataset 00:10:08
    2. Calculating Moving Averages of Crypto Prices 00:12:57
    3. Better Visualizations for Crypto Prices 00:15:14
    4. Revealing Trends in Crypto Market 00:21:16