Free Course Image Learn Python

Free online courseLearn Python

Duration of the online course: 13 hours and 0 minutes

New

Build real Python skills fast with a free online course—write scripts, automate tasks, work with files, APIs, and regex to boost your career.

In this free course, learn about

  • Python basics and why it’s useful across many project types
  • How to write, run, and troubleshoot Python scripts
  • Variables, data types (dynamic typing), and string concatenation
  • Conditionals: if/elif/else, comparisons, and equality checks (==)
  • Loops: iterating collections with for/while and common patterns
  • Using modules: importing code to reuse functionality
  • Creating and using virtual environments (venv) to isolate dependencies
  • Working with lists and dictionaries; appending items to lists
  • File I/O: reading/writing files and using append mode to avoid overwrites
  • Writing reusable functions and why they improve maintainability
  • CLI scripting: shebang, input, and parsing arguments with argparse
  • Error handling with try/except for safer execution
  • Calling REST APIs with requests and handling JSON data
  • OS automation plus input filtering, string sanitization, and regex for validation

Course Description

Python is one of the most versatile programming languages you can learn, and this free online course is designed to help you go from curiosity to confidence by practicing the fundamentals the way they are used in real projects. You will start by understanding how Python code is written and executed, then quickly move into working with variables, data types, and clean, readable expressions that form the base of every application.

As you progress, you will build the logic skills that make programs useful: conditions, comparisons, and control flow that let your code respond to different situations. You will also learn to iterate efficiently with loops and to structure your programs for growth by using modules and virtual environments. That means you will not only write code that works, but also build habits that help you keep projects organized and dependencies under control.

The course also focuses on practical everyday tasks that Python handles exceptionally well. You will work with core data structures like lists and dictionaries, learn how to read from and write to files, and create reusable functions so you can simplify complex problems into smaller pieces. You will see how small decisions, like handling input properly or debugging a script that will not run, can make the difference between a quick win and a frustrating afternoon.

To prepare you for automation and integration work, you will interact with the operating system, pass arguments via the command line, and use try statements to handle errors gracefully. You will also connect to web services through REST APIs, sending requests and working with JSON—skills that are directly relevant to modern development, data workflows, and tooling.

Finally, you will strengthen your application mindset by learning why filtering user input and sanitizing strings matters, especially when reliability and security are on the line. You will round out the experience with regular expressions so you can search, validate, and transform text with precision. By the end, you will have a well-rounded foundation for moving into automation, backend development, scripting, or further study in data and web technologies.

Course content

  • Video class: Python Coding Intro (Python Part 1) 54m
  • Exercise: What is one of the key advantages of using Python as a programming language across various types of projects?
  • Video class: Write and Run Python Scripts (Python Part 2) 48m
  • Exercise: What is an important consideration when troubleshooting why a Python script is not running as expected?
  • Video class: Variables and Concatenation in Python (Python Part 3) 37m
  • Exercise: Which of the following describes how Python handles data types?
  • Video class: If Else Statements and Conditions in Python (Python Part 4) 35m
  • Exercise: In Python, what statement would you use to check if two values are the same?
  • Video class: Loops in Python (Python Part 5) 31m
  • Exercise: Which of the following is used to iterate through a collection in Python?
  • Video class: Modules in Python (Python Part 6) 51m
  • Exercise: What is the purpose of using modules in Python programming?
  • Video class: venv / Virtual Environments in Python (Python Part 7) 50m
  • Exercise: What is the primary purpose of using a Python virtual environment?
  • Video class: Lists and Dictionaries in Python (Python Part 8) 46m
  • Exercise: In Python, which method would you use to add an item to the end of a list?
  • Video class: Write To and Read Files with Python (Python Part 9) 1h05m
  • Exercise: What Python file mode should you use if you want to write to a file without overwriting its existing contents?
  • Video class: Write Functions in Python (Python Part 10) 1h00m
  • Exercise: Which of the following is a benefit of using functions in programming?
  • Video class: Shebang, Input and ArgParse in Python (Python Part 11) 39m
  • Exercise: What is the primary purpose of using a shebang (`#!`) at the start of a Python script?
  • Video class: Try Statements in Python (Python Part 12) 37m
  • Exercise: Which statement best describes the primary use of Python as highlighted in the text?
  • Video class: REST APIs, Requests Module and JSON in Python (Python Part 13) 54m
  • Exercise: What is the main purpose of a REST API in a service-oriented architecture?
  • Video class: OS Module in Python (Python Part 14) 1h00m
  • Exercise: Which Python module allows interaction with the operating system to perform tasks such as directory management and executing system commands?
  • Video class: Filter Variables with Python (Python Part 15) 33m
  • Exercise: In Python, why is it important to filter user input when building an application?
  • Video class: Sanitize Strings with Python (Python Part 16) 22m
  • Exercise: Which of the following describes the main purpose of string sanitization in Python?
  • Video class: RegEx /Regular Expressions for Python (Python Part 17) 49m
  • Exercise: What is the primary purpose of using regular expressions (regex) in Python?

This free course includes:

13 hours and 0 minutes of online video course

Digital certificate of course completion (Free)

Exercises to train your knowledge

100% free, from content to certificate

Ready to get started?Download the app and get started today.

Install the app now

to access the course
Icon representing technology and business courses

Over 5,000 free courses

Programming, English, Digital Marketing and much more! Learn whatever you want, for free.

Calendar icon with target representing study planning

Study plan with AI

Our app's Artificial Intelligence can create a study schedule for the course you choose.

Professional icon representing career and business

From zero to professional success

Improve your resume with our free Certificate and then use our Artificial Intelligence to find your dream job.

You can also use the QR Code or the links below.

QR Code - Download Cursa - Online Courses

More free courses at Programming Languages ( Python, Ruby, Java, C )

Free Ebook + Audiobooks! Learn by listening or reading!

Download the App now to have access to + 5000 free courses, exercises, certificates and lots of content without paying anything!

  • 100% free online courses from start to finish

    Thousands of online courses in video, ebooks and audiobooks.

  • More than 60 thousand free exercises

    To test your knowledge during online courses

  • Valid free Digital Certificate with QR Code

    Generated directly from your cell phone's photo gallery and sent to your email

Cursa app on the ebook screen, the video course screen and the course exercises screen, plus the course completion certificate