The Modern Python Challenge

Video description

Unlock your coding potential by solving real-world Python exercises.

About This Video

  • Solve a variety of real-world programming and logical problems by leveraging the power of Python
  • Improve your skills in using language features, algorithms, data structures, design patterns, and more
  • Expand your development skills by gaining hands-on experience in data analysis, visualisation, web scraping and more

In Detail

Python is one of the most popular and widely used programming languages in a variety of fields such as data science, analysis, gaming, GUI programming, Networking, and more. Are you someone who loves challenges and gets excited about solving them? If you've been using Python for some time and would like to test how good a Python wrangler you are, you've come to the right place!

In this course, you will uncover key Python features and implement them while testing your own ability to solve particular challenges. Each unique problem will not only test your knowledge of the language, but also your ability to think outside of the box and come up with the best solutions.

Our course is divided into levels to help you go from being a beginner to professional level “Pythonista”! And in case you're stumped, you don't have to worry: we'll show you the best solutions to the challenges laid out in the course.

By the end of this course, you will become a confident "Python Pro", ready to take up any challenge and solve it with your mastery. So, are you up for the challenge?

Publisher resources

Download Example Code

Table of contents

  1. Chapter 1 : Implement Data Structures Using the Collections Module
    1. Course Overview 00:03:40
    2. namedtuple 00:03:28
    3. Deque 00:03:37
    4. Defaultdict 00:04:17
    5. Counter 00:04:18
    6. Setting up a character index application 00:05:31
    7. Completing the Character Index 00:05:06
  2. Chapter 2 : Data Analysis with Pandas
    1. Analyzing Car Data 00:10:57
    2. Finding the Most Common Word 00:04:18
    3. Reading Data Files 00:07:22
    4. Movie Data Analysis 00:08:14
    5. Downloading and Transforming Data 00:07:47
    6. Filtering Data 00:06:42
  3. Chapter 3 : Handling Various Data Formats and Databases
    1. Using ElementTree to Parse XML 00:03:01
    2. Converting Dict to namedtuple/JSON 00:02:23
    3. Parsing a CSV File and Creating a Bar Chart 00:05:18
    4. Using the IPinfo API to Lookup IP Country 00:02:48
    5. Turning Messy CSV into JSON 00:02:44
    6. Working with Relational Databases 00:06:00
    7. Analyzing NBA Data with SQLite3 00:06:06
  4. Chapter 4 : Working with Dates and Time Zones
    1. Date and Time Module Overview 00:05:50
    2. Formatting Dates Intermediate Level 00:03:38
    3. Parsing and Converting 00:07:12
    4. Working Between Time Zones 00:05:39
    5. Humanizing a Date and Time 00:05:28
    6. Calculating Time 00:06:42
    7. Finding a Holiday Date 00:03:17
  5. Chapter 5 : Decorators and Context Managers
    1. Introducing the Python Decorator 00:02:22
    2. Writing a Decorator with Arguments 00:02:56
    3. Writing a login_required Decorator 00:03:36
    4. Writing a Number Validation Decorator Advanced Level 00:02:22
    5. Writing a Context Manager 00:07:44
    6. Writing a Retry Decorator 00:03:15
  6. Chapter 6 : Working with Itertools Module
    1. Fix a Truncating Zip Function with zip_longest 00:05:29
    2. Calculating the Running Average of a Sequence 00:04:34
    3. Finding the Number Pairs Summing Up X 00:03:56
    4. Finding Combinations 00:03:48
    5. Finding Words from the English Language 00:06:44
    6. Grouping Data 00:07:25
  7. Chapter 7 : Fundamental Concepts in Object-Oriented Programming in Python
    1. Making a Class and Property 00:05:53
    2. Representation Methods 00:06:51
    3. Saving the Object Class 00:07:22
    4. Subclassing with dict 00:07:45
    5. Inheritance 00:05:29
    6. Advanced Properties 00:03:57
  8. Chapter 8 : Writing Regular Expressions in Python
    1. Overview of Regular Expressions Beginner Level 00:07:02
    2. Extracting Digits Out of a String Intermediate Level 00:05:56
    3. Replacing Characters in a String 00:02:45
    4. Finding Quotes and Extracting Them from a Text Advanced Level 00:03:22
    5. Validating Password 00:05:15
    6. Replacing Repeated Words 00:04:37
  9. Chapter 9 : Working with Strings in Python
    1. Slicing Strings Beginner Level 00:03:23
    2. Rotating String Characters 00:04:13
    3. Replacing Characters 00:02:23
    4. Removing Punctuation Characters from a Longer String 00:03:16
    5. Converting Hexadecimal Numbers to RGB Intermediate Level 00:06:03
    6. Check If Two Strings Are Anagrams 00:03:34
  10. Chapter 10 : Web Scraping with Python
    1. Introduction to Beautiful Soup Intermediate Level 00:03:42
    2. Viewing Source Code 00:04:14
    3. Extracting Hyperlinks from the Source Code 00:02:53
    4. Get List of the Most Recommended Books 00:03:50
    5. Scraping and Cleaning 00:09:11
    6. Editing Webpages 00:03:53
  11. Chapter 11 : Design Patterns
    1. Implementing Factory Method 00:03:53
    2. Creating HTML Page with Abstract Factory Pattern 00:01:31
    3. Implementing Singleton Pattern 00:03:09
    4. Implementing Builder Pattern 00:02:10
    5. Implementing Object Pool Pattern 00:03:05
  12. Chapter 12 : Network Programming with Python
    1. Writing a Basic Server 00:04:58
    2. Write Client 00:02:58
    3. Socket Functions 00:04:07
    4. Downloading an Image 00:03:35
    5. Network Discovery 00:05:20

Product information

  • Title: The Modern Python Challenge
  • Author(s): Matthew Macarty
  • Release date: May 2020
  • Publisher(s): Packt Publishing
  • ISBN: 9781839219238