What to Learn Next

You finished the basics. Now find out what to study next based on what you want to build with Python.

~20 min Beginner

You have the fundamentals

By completing this course, you have learned variables, data types, strings, user input, if statements, loops, lists, dictionaries, functions, files, error handling, modules and the basics of object-oriented programming. These are the building blocks of all Python programs, no matter how complex.

It helps to see how far you have come. Here is what each piece lets you do:

  • Variables and types: remember information and know what kind it is
  • Strings and input: talk to the user and work with text
  • If statements and loops: make decisions and repeat work
  • Lists and dictionaries: store collections of data
  • Functions: organize code into reusable pieces
  • Files and error handling: save data and survive mistakes
  • Modules and classes: use other people's code and model real things

Big frameworks and libraries look scary, but inside they are just these same ideas combined in clever ways. Now you need to choose a direction. Python is used in many different areas, and your next steps depend on what you want to build. You do not have to choose forever. Pick one path, try it for a month or two, and change your mind if it does not fit.

Path 1: Web development

Want to build websites and web applications? Python is a strong choice for the backend, the server side that stores data, checks logins and sends pages to the browser.

  • Django: a full-featured web framework. Great for large, database-driven websites. The official Django tutorial at djangoproject.com is one of the best free learning resources available.
  • Flask: a lighter, more minimal framework. Good for smaller applications and APIs.
  • FastAPI: a modern framework for building APIs quickly. Growing fast in popularity.

Before diving into a framework, also learn the basics of HTML and CSS, the front-end languages that control what the page looks like. And learn some SQL for working with databases. A good first goal is a small app, for example a to-do list or a blog, where users can sign up and save their own data.

If you like seeing results in a browser quickly, this path is very rewarding. You can also learn some JavaScript later to make pages more interactive.

Path 2: Data analysis and visualization

Want to work with data, statistics or reports? This is a well-paid and very practical career path. Analysts turn raw numbers into answers, like which product sold best or when customers visit most.

  • pandas: the main library for working with structured data. Think of it as a very powerful spreadsheet you control with Python code.
  • NumPy: efficient operations on large arrays of numbers. The foundation underneath pandas.
  • Matplotlib and Seaborn: libraries for creating charts and graphs from data.
  • Jupyter Notebooks: an interactive environment where you write code and see results inline. The standard tool in data science.

Kaggle (kaggle.com) has free courses and datasets. Real Python (realpython.com) has many solid data-focused tutorials.

A good first project: download a spreadsheet of something you care about, such as sports, movies or your own spending, load it with pandas, and make three charts that tell a story.

Path 3: Machine learning and AI

Machine learning is one of the most exciting areas in tech right now. Python is the dominant language here. In simple words, instead of writing exact rules, you show the computer many examples and it learns patterns from them.

  • Learn pandas and NumPy first. Machine learning starts with data.
  • scikit-learn: the standard library for classical machine learning. Classification, regression, clustering. Very clean and well documented.
  • TensorFlow and PyTorch: deep learning frameworks for building neural networks. PyTorch is popular in research, TensorFlow in production.

Fast.ai (fast.ai) offers free, practical deep learning courses that are genuinely excellent for people who learn by doing.

Be patient with this path. It needs some math, mainly basic statistics and a little algebra, and a lot of practice with data. Start with small projects, like predicting house prices or recognizing handwritten digits, before dreaming of big AI systems.

Path 4: Automation and scripting

Want to automate tasks on your computer or build tools for your own use? You already know enough to start. Go deeper in these areas:

  • os and pathlib: working with files and folders at the system level.
  • subprocess: running other programs and commands from within Python.
  • openpyxl and pandas: working with Excel files.
  • pyautogui: controlling the mouse and keyboard to automate desktop tasks.
  • The book "Automate the Boring Stuff with Python" by Al Sweigart is free to read online at automatetheboringstuff.com. It is one of the best practical Python books and focuses entirely on useful automation tasks.

This path gives the fastest feeling of reward, because your scripts save you real time. Ideas to try: a script that sorts your Downloads folder by file type, one that renames photos by date, or one that sends you a daily summary email.

Path 5: Cybersecurity

Python is heavily used in cybersecurity. If you are learning ethical hacking, Python lets you build your own tools and understand how existing ones work.

  • socket: a built-in module for network programming. Build your own port scanners and simple network tools.
  • requests and BeautifulSoup: for web scraping and interacting with web applications.
  • scapy: for crafting and analyzing network packets. A powerful tool for network security work.
  • paramiko: for SSH automation.
  • Writing your own versions of common security tools is one of the best ways to learn. Build a port scanner, a simple password manager, a network sniffer or a log file analyzer.

A strong base in networking and Linux helps a lot on this path. Always practice on systems you own or have written permission to test. Using these skills on other people's systems without permission is illegal.

How to keep improving

  • Build things. Every concept you learn, use it in something real. Small projects teach more than passive reading.
  • Read other people's code. GitHub is full of open-source Python projects. Reading good code is one of the fastest ways to level up.
  • Practice on Exercism and LeetCode. These give you small coding problems with increasing difficulty.
  • Use the official Python documentation (docs.python.org) when stuck. Learning how to find answers is a key skill.
  • Teach what you learn. Write notes, make a blog post or explain a concept to a friend. Teaching forces real understanding.
Final word: programming is a skill you build over time, not overnight. The people who become good at it are not necessarily the smartest. They are the ones who kept going when it got hard, who built things even when the code was messy, and who stayed curious. You have the foundation. Keep building.

A simple plan for your next 30 days

Having a plan beats good intentions. Here is a simple one you can follow:

  • Week 1: Review. Redo the exercises from the lessons you found hardest. Re-type the code, do not copy it.
  • Week 2: Build a small project from your own idea, like a quiz game, a habit tracker or a unit converter.
  • Week 3: Pick a path from this lesson and finish one beginner tutorial for it.
  • Week 4: Build something in that path, share it on GitHub, and write down what you learned.

Aim for a small amount every day instead of one long session each week. Thirty focused minutes a day beats five hours on a Sunday, because your brain needs time to absorb new ideas.

When you get stuck

Everyone gets stuck, including experienced programmers. What matters is what you do next:

  1. Read the error message from the bottom up and look at the line number
  2. Print values to see what your code is really doing
  3. Explain the problem out loud to a friend, a rubber duck or a notebook. This often reveals the answer
  4. Search the exact error message. Add the word Python
  5. Make the problem smaller. Remove code until the bug disappears, then you know where it lives
  6. Ask for help with a short question, your code and the full error message

Do not feel bad about searching for answers. Looking things up is part of the job, and no one remembers every function by heart. What you really build over time is the skill of knowing what to search for.

Key takeaways

  • You now know the core ideas behind almost every Python program
  • Choose a path that matches what you want to build: web, data, AI, automation or security
  • Learn the supporting skills too: HTML and SQL for web, math for AI, networking for security
  • Build real projects. They teach more than reading or watching
  • Read code, use the docs and practice small problems regularly
  • Short daily practice beats rare long sessions, and getting stuck is normal
Sign up to track your progress Mark lessons as read and pick up where you left off Sign up free to unlock this practice Your first practice lesson is free to try. Create an account to unlock the rest and save your progress