Intermediate Python and Practical Skills
Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
Intermediate Python and Practical Skills
This course is part of Python 3 from Beginner to Expert - Learn Python from Scratch Specialization
Included with
Ask Coursera
Recommended experience
Recommended experience
What you'll learn
Develop multi-module applications and modularize your Python code for large projects.
Master performance optimization techniques by measuring code efficiency and speed.
Learn advanced concepts like lambda functions, variable-length arguments, and decorators.
Work with external data, including JSON and APIs, to enhance Python applications.
Skills you'll gain
Tools you'll learn
Details to know
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate
There are 7 modules in this course
This course features Coursera Coach!
A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. In this course, you’ll advance your Python programming skills with a deep dive into essential concepts and practical applications. You will learn how to work with multi-module applications, explore performance measurement techniques, and master advanced function concepts like default arguments and lambda functions. The course focuses on optimizing your code and ensuring that it’s both readable and efficient. As you move forward, you’ll explore the power of Python's random module, develop applications that interact with external data through APIs, and handle file operations and exceptions gracefully. From mastering JSON data handling to understanding advanced file I/O, you'll develop the skills necessary to create robust and optimized Python applications for real-world scenarios. This course is perfect for those who have a basic understanding of Python and want to take their skills to the next level. It’s designed to provide hands-on practice with projects that involve web data, file manipulation, and API interactions, making it ideal for aspiring developers and data scientists. By the end of the course, you will be able to design complex Python applications using advanced features like multi-module structures, manage and manipulate JSON data, interact with external APIs, and handle errors and exceptions effectively in your programs.
In this module, we will dive into advanced Python function concepts, including creating multi-module applications and using enums for clearer code. You will also learn to measure code performance, handle default arguments, and utilize flexible argument types, enabling you to write more efficient and modular programs.
What's included
14 videos1 reading1 assignment
14 videos•Total 160 minutes
- Multi-Module Application | How to Import Your Own Module•10 minutes
- Enum - What It Is and Why You Should Use It?•13 minutes
- Exercise: Sum of All Numbers Up to the One Entered by User•14 minutes
- Measuring Performance of Code | How Well (Fast) Some Parts of Code Work | Time•15 minutes
- Function as Argument of Another Function | How to Measure Performance of Function•7 minutes
- Default Arguments•7 minutes
- Named (Keyword) and Unnamed (Positional) Arguments•9 minutes
- Exercise - Checking Whether Value Is in Container•7 minutes
- Variable Length Argument (Multiple Arguments Sent and Saved in a Single Parameter)•12 minutes
- Local Versus Global Variables - Scope - Lifetime of Variables•9 minutes
- Mutable Versus Immutable Objects•21 minutes
- Shallow Versus Deep Copy of Object•14 minutes
- Lambda | Anonymous Functions - What Are They? When Should You Use Them?•12 minutes
- Use the any () Function to Determine if a List Contains Any Even Numbers•10 minutes
1 reading•Total 10 minutes
- Introduction to the Course 'Intermediate Python and Practical Skills'•10 minutes
1 assignment•Total 15 minutes
- Functions - Advanced - Assessment•15 minutes
In this module, we will explore random number generation and its application in Python. You will learn how to use random functions for tasks like drawing lottery numbers, shuffling cards for games, and simulating random events, while honing your skills with interactive and engaging Python projects.
What's included
6 videos1 assignment
6 videos•Total 73 minutes
- Drawing Random Numbers - Creating a Program that Checks Whether You Hit the Monster•15 minutes
- Random Events - Choice Versus Choices Function•9 minutes
- Shuffle - Shuffling Cards in 'War' Game•3 minutes
- Exercise: Drawing Elements Without Repetition - Lottery Game - Six Numbers from 49•13 minutes
- Exercise | Game | Drawing Random Chests Colors with Random Rewards•25 minutes
- Exercise | Game | Drawing Approximate Value to a Certain Value•8 minutes
1 assignment•Total 15 minutes
- Random Numbers - Assessment•15 minutes
In this module, we will cover file I/O operations, focusing on how to create and manage files in Python. You will also learn how to handle exceptions to ensure your code runs smoothly, and explore advanced file manipulation techniques for greater control over data storage and retrieval.
What's included
8 videos1 assignment
8 videos•Total 52 minutes
- What Is a File? How to Create It? Why Do We Need to Close It? How to Save Data?•10 minutes
- Exceptions, Try, Finally Block•4 minutes
- Opening the File Using: with…as…•3 minutes
- Reading the Content of a File - read Versus readlines, Splitting Lines, Encoding•8 minutes
- seek and Tell - Changing and Reading the Position of Last Operation in File•5 minutes
- Append - Adding Text at the End of File•2 minutes
- a+, r+, w+ - Two Function File Opening Modes•7 minutes
- Keyword Except - Catching Exceptions - Exercise - Loading Names and Surnames•13 minutes
1 assignment•Total 15 minutes
- Working with Files in Python and Exceptions | I/O Operations - Assessment•15 minutes
In this module, we will explore JSON, a popular data format for transferring information between systems. You’ll learn how to work with JSON in Python by creating, saving, and loading data in JSON format, as well as organizing and formatting JSON data for better readability.
What's included
4 videos1 assignment
4 videos•Total 28 minutes
- What Is JSON? Why Do We Use It? What Problems Does JSON Solve?•6 minutes
- Creating and Saving Data from Python in JSON Format to File and String•10 minutes
- Loading Data from JSON File to Python•4 minutes
- Pretty Printer - Loading/Saving Pretty and Sorted JSON•8 minutes
1 assignment•Total 15 minutes
- JSON - Assessment•15 minutes
In this module, we will explore how to leverage pip and external Python packages from PyPi to enhance your programming capabilities. You’ll learn how to fetch and process data from servers, refactor your code, and manage multiple API requests to improve efficiency and productivity.
What's included
8 videos1 assignment
8 videos•Total 85 minutes
- What Is pip and PyPi? Installing and Playing with External Package - Request•12 minutes
- Loading Data from Server from JSON File - Preface to Next Exercise•10 minutes
- Processing JSON Data | Extracting Top Values from List of Dictionaries•19 minutes
- Refactoring - Making Our Code Easier to Maintain from the Previous Lecture•14 minutes
- Solution 1: Retrieving a Few Users from Server at the Same Time•7 minutes
- Solution 2: Retrieving a Few Users from Server at the Same Time•5 minutes
- Solution 3: Retrieving a Few Users from Server at the Same Time•12 minutes
- defaultdict Supplying Missing Values of Dictionary When Accessing Empty Element•6 minutes
1 assignment•Total 15 minutes
- pip | PyPi – Using External Packages - Assessment•15 minutes
In this module, we will focus on APIs, teaching you how to retrieve data from external sources, such as StackOverflow and various web services. You will also work with web scraping, handle JSON data, and create fun and practical applications, such as fetching random cat facts and images from APIs.
What's included
7 videos1 assignment
7 videos•Total 60 minutes
- What Is Public API? Where to Find It? Stackoverflow API•13 minutes
- Getting JSON from stackoverflow.com -> Getting Top Questions from Last Week•10 minutes
- Opening Websites from Python Code - webbrowser Module•5 minutes
- Getting Records from Last Week - Datetime Module•10 minutes
- Exercise: Cat Facts•6 minutes
- Exercise: Random Cat Images by Breed•3 minutes
- Authorization - Log in Using API Key - Getting Holiday Calendar•12 minutes
1 assignment•Total 15 minutes
- API - Assessment•15 minutes
In this module, we will delve into API authorization, specifically using header-based authentication. You will also learn how to send POST and DELETE requests to interact with remote servers, managing data securely and efficiently in your Python projects.
What's included
4 videos1 reading3 assignments
4 videos•Total 42 minutes
- Authorization Through Header - Settings•6 minutes
- Exercise: Cat System - Introduction•13 minutes
- POST - Adding a Cat to Favorite List•7 minutes
- DELETE - Removing a Cat from Favorite List•15 minutes
1 reading•Total 10 minutes
- Conclusion to the Course 'Intermediate Python and Practical Skills'•10 minutes
3 assignments•Total 90 minutes
- Full Course Practice Assessment•15 minutes
- API – Header Authorization – POST and DELETE - Assessment•15 minutes
- Full Course Assessment•60 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructor
Explore more from Software Development
- Status: Free Trial
Course
- Status: Free Trial
- Status: Free Trial
Course
Why people choose Coursera for their career
Frequently asked questions
Intermediate Python programming refers to the next level of learning after mastering the basics. It involves more advanced topics and techniques that allow you to build more efficient, modular, and real-world applications. It is relevant because, as you progress in your programming journey, you need these skills to work on larger projects, solve more complex problems, and develop efficient code, making Python a versatile tool for software development, data science, web development, and more.
The Intermediate Python and Practical Skills course dives deeper into Python programming concepts beyond the basics. It covers advanced functions, working with files, random number generation, exception handling, JSON, and APIs. It also explores practical skills like using external packages via pip, interacting with web APIs, and building multi-module applications. Through real-life exercises, this course provides the tools to take your Python skills to the next level.
After completing this course, you’ll be able to work with Python more effectively in real-world applications. You’ll have the skills to organize your code using modules, handle files and exceptions gracefully, generate random data, work with JSON data, and interact with web APIs. You'll be equipped to build more complex Python applications and perform tasks like data processing, web scraping, and creating programs that interact with external services.
More questions
Financial aid available,
