4Geeks logo
4Geeks logo

Bootcamps

Explore our extensive collection of courses designed to help you master various subjects and skills. Whether you're a beginner or an advanced learner, there's something here for everyone.

Academy

Learn live

Join us for our free workshops, webinars, and other events to learn more about our programs and get started on your journey to becoming a developer.

Upcoming live events

Learning library

For all the self-taught geeks out there, here is our content library with most of the learning materials we have produced throughout the years.

It makes sense to start learning by reading and watching videos about fundamentals and how things work.

Full-Stack Software Developer - 16w

Data Science and Machine Learning - 16 wks

Search from all Lessons


LoginGet Started

Learn Python

Lessons, exercises, and projects about Python

Browse our list of curated database of projects, exercises, and lessons to learn Python

  • Python

  • Machine Learning

Deploy model using Streamlit and Heroku

Read lesson
  • object oriented programming

  • Python

How to read a file in Python?

Learn how to read files in Python and master data manipulation. Discover how to access and process information from different sources - get started today!

Read lesson
  • Algorithms

  • Python

Sorting and Searching Algorithms in Python

Explore sorting and searching algorithms in Python. Learn how to optimize data management with these essential programming techniques.

Read lesson
  • Python

  • Machine Learning

  • Render.com

Deploy Models using Streamlit and Render.com

Read lesson
  • Python

  • Machine Learning

  • Data Feature Engineering

Feature Engineering

Read lesson
  • Python

  • Numpy

  • Data Science

Introduction to Numpy

Read lesson
  • Flask

  • APIs

  • JWT

Understanding JWT and how to implement a simple JWT with Flask

Read lesson
  • REST

  • Python

  • Flask

Building RESTful API's using Flask

Flask is becoming the most popular Python framework (if its not already), learn how to build RESTful API's the REST way

Read lesson
  • Python

  • Machine Learning

Exploring Neural Networks

Read lesson
  • Python

  • Machine Learning

Time Series

Read lesson
  • Python

  • Machine Learning

Support Vector Machine

Read lesson
  • Python

  • Machine Learning

Regularized Linear Models

Read lesson
  • Python

  • Data Science

  • Machine Learning

How to take the Exploratory Data-analysis Module

Read lesson
  • Python

  • Machine Learning

  • Pandas

Bernoulli Probability with Python

Read lesson
  • Conditions

  • Python

Introduction to Python

Read lesson
  • Python

  • Machine Learning

  • Pandas

Intro to Matplotlib

Read lesson
  • Python

  • Machine Learning

  • Data Analysis

Exploratory Data Analysis and Cleaning with Titanic

Read lesson
  • Python

  • Machine Learning

Exploring Naive Bayes

Read lesson
  • REST

  • Django

  • Python

Understanding Django Rest Framework

Read lesson
  • Python

  • Machine Learning

Model Hyperparameters Optimization

Read lesson
  • Python

  • Machine Learning

Unsupervised learning

Read lesson
  • Python

  • Machine Learning

  • Amazon Web Services (AWS)

Intro to AWS SageMaker

Read lesson
  • Data Structures

  • Serialization

  • Python

Family Tree Static API with Flask

  • easy

Create an API to read from a family tree structure

Start project
  • REST

  • Python

  • Flask

Build a StarWars REST API

  • easy

The StarWars Blog API will let you practice building a REST API using lightweight API frameworks like Express (for node) or Flask (for python) using SQLAlchemy ORM and Python language. while building a fun blog. Ideal for juniors looking to practice API development in python.

Start project
  • HTTP

  • Python

  • The Command Line

Todo List CLI on the Cloud

  • easy

Todo List CLI using saving and retrieving the Todo's on the cloud

Start project
  • Python

  • The DOM

  • Javascript

Todo List API + VanillaJS Front

  • intermediate

Let's build a todo list from zero to publish using a Python Flask API and a Vanilla.js front-end

Start project
  • Python

  • The Command Line

  • cmd

The Excuse Generator CLI (python)

  • easy

Disneyland for procrastinators. This excuse generator in python takes no more than 20 lines of code and can save you for the rest of your life!

Start project
  • REST

  • Django

  • Python

Contact List API

  • intermediate

Using the Flask o Django library in Python, create an API that supports: Creating, Updating, Reading and Deleting contacts.

Start project
  • REST

  • Python

  • The Command Line

Todo List API with Python Flask Interactive

  • easy

Create a Todo list API Interactively using Python language and the Flask Framework

Start project
  • Javascript

  • Python

  • Flask

Authentication system with Python Flask and React.js

  • easy

Almost every website in the world has user authentication, in this project you have to implement user authentication using the Python Flask framework for building a backend REST API and React.js and sessionStorage API for the front end web application.

Start project
  • Python

  • Data Science

  • Machine Learning

Pandas for Machine Learning

  • beginner

Learn the basics and become comfortable using pandas for manipulating machine learning datasets.

Start exercise
  • Conditions

  • Python

Learn Python Interactively (beginner)

  • easy

Python Exercises for beginners, from Hello World to variables, loops and a little bit of functions.

Start exercise
  • Python

How to reverse a string in python?

Read article
  • Python

How to install Python?

Learn how to install Python on your computer easily. Discover the necessary steps to start programming with this popular programming language.

Read article
  • Python

How to Round in Python?

Learn different methods to round numbers in Python. Discover techniques to round to a specific decimal place, nearest integer, or with custom precision. The most common method used is the round method

Read article
  • Python

  • The Command Line

How to update Python in Terminal?

In our step-by-step guide on how to update Python in terminal, we explore the most straight forward methods to successfully update Python version in Linux, MacOs and Windows systems

Read article
  • Javascript

  • Regular Expression

  • Java

RegEx for whitespaces

On RegEx for whitespaces we'll be discussing the different ways to detect whitespaces using regular expressions. RegEx has more than one way to search in a given text for these characters and we'll be giving an example with the most used one

Read article
  • List

  • Python

  • reverse a list

How to Reverse a List in Python?

Read article
  • Python

How to update Python version?

On this step-by-step guide you'll find how to update python version on all mayor Operating Systems (Windows, MacOS and Linux) making use of Chocolatey, Homebrew and Deadsnakes as well with the option to download and install from python.org

Read article
  • Python

What Does // Mean in Python?

Read article
  • object oriented programming

  • Python

What is Object Oriented Programming?

Discover what Object Oriented Programming is and understand the fundamentals behind this powerful software development methodology.

Read lesson
  • Python

What is recursion in Python?

Discover what recursion is in Python. Explore the technique of calling itself to solve complex problems elegantly and efficiently.

Read lesson
  • Python

  • 4geeks

Python Modules

Learn about modules in Python and how to take advantage of them to efficiently organize and reuse your code - improve your programming skills!

Read lesson
  • Python

  • Machine Learning

How to Deal With Outliers

Read lesson
  • Python

  • Data Science

  • Machine Learning

Python for DataScience

Read lesson
  • Python

Working with Functions in Python

Functions are an amazing tool, they allow you to re-use and simplify your code like never before. Before functions existed algorithms were almost impossible to maintain

Read lesson
  • Python

  • String Concatenation

Working with or manipulating strings with Python

String concatenation is the Web Developer's bread and butter, our job is to concatenate strings to create HTML/CSS documents programmatically

Read lesson
  • Python

  • Numpy

  • Machine Learning

Linear Algebra

Read lesson
  • Python

  • Machine Learning

Intro to deep learning

Read lesson
  • Python

  • Machine Learning

K-nearest neighbors

Read lesson
  • Python

  • Machine Learning

Random Forest

Read lesson
  • Python

  • Machine Learning

Logistic Regression

Read lesson
  • Python

  • static files

  • Pandas

Importing Static Files with Pandas

Read lesson
  • Python

  • Machine Learning

  • Pandas

Plotting Binomial Distribution with Python

Read lesson
  • Python

  • Numpy

  • Machine Learning

Random Variables

Read lesson
  • Python

  • Beautiful Soup

Web Scraping With Beautiful Soup

Read lesson
  • Python

  • Machine Learning

  • Pandas

Plotting Distributions with Python

Read lesson
  • Python

  • Machine Learning

  • Pandas

Plotting Functions With Python

Read lesson
  • learn to code

  • Python

Learning to code with Python

Read lesson
  • Python

  • Machine Learning

Decision Trees

Read lesson
  • Python

  • Machine Learning

Natural Language Processing

Read lesson
  • Python

  • Machine Learning

Naive Bayes

Read lesson
  • Python

  • Flask

  • Data Science

ML web app using Flask tutorial

  • easy

Use Flask to create a machine learning web application to predict Titanic survival.

Start project
  • Python

  • Flask

  • Data Science

ML web app using Streamlit tutorial

  • easy

Use Streamlit to create a machine learning web application.

Start project
  • Python

  • The Command Line

Random Card Generator CLI

  • easy

Use your Python skills to randomly draw a poker card on every time the algorithm runs

Start project
  • Python

  • The Command Line

  • Data Structures

File Hierarchy Report

  • easy

Scanning files in a computer and building a report based on the findings

Start project
  • Python

  • csv

  • The Command Line

Todo List CLI with Python

  • easy

Todo List CLI using Python

Start project
  • Python

  • json

  • Logging

Todo List API

  • intermediate

Build a Todo List API using Flask or Django

Start project
  • HTTP

  • Python

  • The Command Line

Create a Dictionary Terminal APP

  • easy

Conect to the UrbanDictionary.com API to create an app that can be used from the terminal to retrieve meanings of words

Start project
  • http

  • HTTP

  • Python

Integrating with the Twitter API Project Tutorial

  • easy

Connect with an API, retrieve the data and save it into a python pandas dataframe for easier manipulation and into a SQL database.

Start project
  • List

  • Loops

  • Python

Learn Python Loops and lists Interactively

  • easy

Practice Python Lists and tuples (arrays) with interactive auto-graded exercises and video solutions

Start exercise
  • Conditions

  • List

  • Loops

Master Python by practice (interactive)

  • easy

Practice your Python programming skills with this interactive and auto-graded set of exercises.

Start exercise
  • Python

  • String Concatenation

How to Split a String in Python?

Learn different methods to split a string into substrings in Python. Explore practical examples and best practices for effective string manipulation.

Read article
  • Javascript

  • Regular Expression

  • Python

RegEx Examples: Mastering Regular Expressions with Practical Cases

On RegEx examples we'll be covering different regular expressions examples for the most used data. You'll find patterns with working snippets for Javascript and Python for emails and passwords validation, Integers, Float numbers and Decimals extraction

Read article
  • Python

What is an expression in Python?

Discover what expressions are in Python and how they play a crucial role in coding. Learn about their syntax, types, and practical examples to enhance your Python programming skills.

Read article
  • Python

  • exit

How to exit Python in terminal

Exiting Python from the terminal can be achieved in 3 different ways. The exit and quit commands will exit Python and you can as well exit by using keyboard shortcuts such as ctrl+z and ctrl+d on Windows and Unix Based Systems respectively

Read article
  • Python

What does a double equal sign mean in Python?

Learn the meaning of the double equal sign in Python. Explore how it works for equality comparison and make your code more powerful.

Read article
  • Python

How to comment multiple lines in Python

In Python, the # symbol is used for commenting a single line of code. It´s possible to use this character to comment multiple lines, but you'll need to put one by one. If we want to comment multiple lines in a more simple way, then we use the 'docstring' method.

Read article
  • Python

How to check python version?

Get the latest version of Python with this easy guide! Learn how to check your current version and upgrade to the newest version with just a few clicks. #Python #VersionCheck #Upgrade

Read article
  • List

  • Python

  • extend

Python list extend method

Read article
  • Python

What Are Third-Party Libraries Used for in Python?

Learn how third-party libraries in Python can enhance your projects. Discover how to incorporate advanced functions and accelerate your development.

Read lesson
  • Python

What are Python Dictionaries?

Discover what Python dictionaries are and how they are used. Learn how to leverage these data structures to efficiently organize and access information.

Read lesson
  • Python

What is Python used for?

Discover what Python is used for and how this programming language is used in artificial intelligence, data analysis, web development, and more.

Read lesson
  • Python

  • Machine Learning

How to Deal With Missing Values

Read lesson
  • Python

  • Data Science

  • Machine Learning

Introduction to Pandas

Read lesson
  • Javascript

  • Python

Understanding Python Syntax vs Javascript

Read lesson
  • Python

  • SQL Alchemy

Everything you need to know about SQLAlchemy

SQLAlchemy is the most popular ORM for Python, start using it in 8min

Read lesson
  • Python

  • Machine Learning

Machine Learning Basics

Read lesson
  • Python

  • Machine Learning

Exploring Time Series

Read lesson
  • Python

  • Machine Learning

Exploring Natural Language Processing

Read lesson
  • Python

  • Machine Learning

Exploring Decision Trees

Read lesson
  • Python

  • Machine Learning

Model Evaluation

Read lesson
  • Algorithms

  • Python

  • Data Structures

Algorithms and Data Structures Optimization

Read lesson
  • Python

  • Numpy

  • Machine Learning

Hypothesis Testing

Read lesson
  • Python

  • Machine Learning

Boosting Algorithms

Read lesson
  • Logical Operators

  • If...else

  • Conditions

Logical conditions in Python explained

Read lesson
  • Python

  • Machine Learning

Exploring Linear Regression

Read lesson
  • Python

  • Machine Learning

  • Pandas

Binomial Probability with Python

Read lesson
  • SQL

  • Python

  • Pandas

Connecting to SQL Databases

Read lesson
  • Python

  • Machine Learning

Linear Regression

Read lesson
  • Python

  • Flask

  • Machine Learning

Deploy model using Flask and Heroku

Read lesson
  • Python

  • Numpy

  • Data Science

Real Estate Data Cleanup

  • easy

Prepare a real dataset to later train a machine learning model

Start project
  • Algorithms

  • Python

  • Big O

Algorithm Optimization Project for Machine Learning

  • easy

Learn the basics on how to optimize or better build algorithms in Python for Machine Learning

Start project
  • Python

  • Data Science

  • Machine Learning

Machine Learning Final Project

  • easy

These are your machine learning final project instructions

Start project
  • Python

  • csv

  • The Command Line

TicTacToe CLI with Python

  • easy

Create a TicTacToe List CLI using Python

Start project
  • Queue Data Structure

  • Data Structures

  • Static File Storage

Queue Managment CLI with Python

  • intermediate

Terminal-based queue management application

Start project
  • Data Structures

  • Serialization

  • Python

Family Static API with Flask

  • easy

Create an API to show family members

Start project
  • Static File Storage

  • Python

  • json

Queue Managment API

  • intermediate

Develop and API that integrates with Twilio.com to recreate a Queue Managment System similar to

Start project
  • Python

  • The Command Line

  • Compression

Compression Algorithm w/Python

  • easy

Building a Compression Algorithm using Python and Emojis

Start project
  • HTTP

  • Python

  • http Request

Learn how to build HTTP requests with Python

  • easy

Learn interactively to consume and create HTTP requests to API's using Python

Start exercise
  • Functions

  • Python

Learn Python Functions Interactively

  • easy

Learn and master functional programming by doing auto-graded interactive exercises.

Start exercise
  • Python

  • Numpy

  • Data Science

Numpy Tutorial Exercises

  • intermediate

This interactive tutorial will help you become familiar on it, master the most used functionalities and help you clean up your first datasets

Start exercise
  • Python

  • APIs

How to consume an API in Python?

Learn how to consume an API in Python. Discover the essential steps to access and use external data in your applications. Boost your projects now!

Read article
  • Python

  • Pandas

Pandas Data Cleaning

Learn how to clean and preprocess data using Pandas in Python. Discover essential techniques and functions for handling missing values, duplicates, outliers, and more.

Read article
  • Python

How to concatenate Strings on Python

Learn how to concatenate strings in Python efficiently. Explore string manipulation techniques and enhance your coding skills today!

Read article
  • Python

  • power

  • square

How to square a number in python

On how to square a number in Python we explore different ways that includes pow(), math.pow, the power operator (**) as we create as well our own function to receive exactly this squared value

Read article
  • List

  • Python

  • list length

How to Get Python List Length?

A simple way to get the length of any Python list is using the `len()` function.

Read article
  • Python

What is float in python?

A float type variable is used to store real numbers with fractions (or floating point numbers). The float() method returns a float number from any received integer, numeric string or even a boolean!

Read article
  • Python

How to multiply in python

The easiest way to multiply in python is by using the asterisk symbol like this: 3 * 2

Read article
  • List

  • Python

Convert List to String in Python

A simple way to convert a list to a string in Python using the join() method.

Read article