Free Course Image Programming

Free online courseProgramming

Duration of the online course: 15 hours and 54 minutes

3.5

StarStarStarHalf star

(2)

Build real Python skills fast with a free programming course: write clean code, automate tasks, handle files, and earn a certificate-ready foundation.

In this free course, learn about

  • Course overview and Python basics: running code, input/output, and problem-solving mindset
  • Defining and using functions with def; parameters, return values, variables, and scope
  • Using == for equality comparisons; building boolean expressions for decisions
  • Writing conditionals: if/elif/else, logical operators, and branching program flow
  • Using loops (while/for) to automate repetition, avoid copy-paste, and control iteration
  • Handling errors with try/except/else/finally; writing robust programs with exceptions
  • Importing libraries/modules with import to reuse functionality and access APIs
  • Writing unit tests to verify correctness, prevent regressions, and speed debugging
  • File I/O: reading/writing text files; working with paths and common file patterns
  • Using the csv module to parse/write CSV data reliably (rows, columns, quoting)
  • Regular expressions for pattern matching, e.g., validating/extracting emails or formatted text
  • Object-oriented programming: classes/objects, attributes, methods, and encapsulation
  • Using * in function arguments for packing/unpacking and flexible parameter lists

Course Description

Start turning ideas into working programs with a free online course that builds practical programming confidence from the ground up. Designed for beginners and useful for anyone refreshing fundamentals, this learning path helps you think like a developer: break problems into steps, write readable code, and steadily improve your solutions through iteration and testing.

You will begin by learning how Python programs are structured and how to express instructions clearly with functions and variables. From there, you will strengthen your ability to make decisions in code with conditionals and comparisons, then level up by using loops to automate repetitive work efficiently. Along the way, you will gain the habit of writing programs that are not only correct, but also maintainable as they grow.

Real-world programming is rarely perfect on the first run, so you will also learn how to anticipate and handle errors using exceptions. This skill is essential for creating software that behaves gracefully when users provide unexpected input or when files and data are not in the format you expected. You will also learn how libraries expand what you can build, enabling you to reuse powerful modules instead of reinventing the wheel.

To develop professional-quality code, you will practice verifying behavior through unit tests, which helps you catch bugs early and refactor with confidence. You will also work with file input and output, a key step toward building useful tools that read, transform, and save data. Using common formats such as CSV, you can connect your programs to everyday datasets, reports, and exports used in business and analytics.

As you progress, you will learn to extract information from text using regular expressions, an industry-standard approach for pattern matching, validation, and cleanup. Finally, you will explore object-oriented programming to model concepts with classes, making larger programs easier to design and extend. By the end, you will be able to write clearer, more reliable Python programs and apply these skills to projects, interviews, and further study in technology and programming.

Course content

  • Video class: CS50P - Introduction 04m
  • Exercise: In the CS50 Introduction to Programming with Python course, what is the initial topic of focus?
  • Video class: CS50P - Lecture 0 - Functions, Variables 1h45m
  • Exercise: When defining a function in Python, which keyword is used to denote the function definition?
  • Video class: CS50P - Lecture 1 - Conditionals 56m
  • Exercise: What does the '==' operator do in Python?
  • Video class: CS50P - Lecture 2 - Loops 1h20m
  • Exercise: What benefit does using a 'while' loop provide when compared to copying and pasting a repetitive task multiple times in Python?
  • Video class: CS50P - Lecture 3 - Exceptions 44m
  • Exercise: In Python, when handling exceptions, which of the following keywords is used to specify what should be done if no exceptions occur during the execution of a code block?
  • Video class: CS50P - Lecture 4 - Libraries 1h17m
  • Exercise: What is a primary purpose of using Python's import statement when programming with modules?
  • Video class: CS50P - Lecture 5 - Unit Tests 50m
  • Exercise: Why is it beneficial to write additional code specifically for testing your code in Python programming?
  • Video class: CS50P - Lecture 6 - File I/O 1h32m
  • Exercise: What is a primary purpose of using a CSV module in Python when working with CSV files?
  • Video class: CS50P - Lecture 7 - Regular Expressions 2h05m
  • Exercise: Regular Expressions, or Regex, are used in programming for pattern matching. What is one common use case for Regex mentioned in the text?
  • Video class: CS50P - Lecture 8 - Object-Oriented Programming 2h47m
  • Exercise: In Python, what is a class primarily used for in object-oriented programming?
  • Video class: CS50P - Lecture 9 - Et Cetera 2h29m
  • Exercise: What is the purpose of the asterisk ('*') operator when used in Python with function arguments?

This free course includes:

15 hours and 54 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

Course comments: Programming

RL

Renata Liles

StarStarStarStarStar

I loved how detailed the Professor is, I'm truly thankful for these courses. I had several spinal surgeries last year and I'm going back on the 27th.

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