Python Basics
Whether youβre a complete beginner or a developer picking up a new language, this is the place to start. These tutorials cover the essential building blocks of Python and will give you the foundation to grow your skills from here.
Note: Browse all resources below, or commit to a structured sequence of guided beginner Learning Paths with progress tracking.
Once youβre comfortable with the basics, check out our intermediate Python tutorials.
Free Bonus: Python Cheat Sheet
Get a Python Cheat Sheet (PDF) and learn the basics of Python 3, like working with data types, dictionaries, lists, and Python functions:
The Best Way to Get Started
The best way to get started is with our Python Basics Book:
Learning Path
Python Basics Book (Supporting Materials & Bonus Resources)
19 Resources β Skills: Python 3 Fundamentals, Real-World Projects
Python Basics walks you through fundamental concepts step by step, with hands-on examples you can try as you go.
Not Sure Where You Stand?
Take the Python Skill Test to find out which level fits you best:
Take the Quiz: Test your knowledge with our interactive βPython Skill Testβ quiz. Youβll receive a score upon completion to help you track your learning progress:
Interactive Quiz
Python Skill TestTest your Python knowledge in a skills quiz with basic to advanced questions. Are you a Novice, Intermediate, Proficient, or Expert?
Not at all! These tutorials are designed for complete beginners. You donβt need any prior programming experience to get started. The basics tutorials walk you through everything from installing Python to writing your first lines of code.
Youβll need Python installed on your computer and a code editor or IDE. Check out our Python installation guide and our IDE setup tutorial to get up and running. Once youβre set up, youβre ready to write your first Python program.
The best starting point is the Python Basics learning path, which gives you a structured sequence with progress tracking. If you prefer to explore on your own, start with variables and data types, then work through loops, functions, and basic data structures.
After working through the basics, youβll be able to write Python scripts, automate simple tasks, work with files, and build small programs. Check out our project tutorials for ideas. Youβll also have the foundation you need to move on to intermediate topics.
When you can write simple programs without constantly looking up syntax, youβre ready to level up. If youβre comfortable with variables, loops, functions, and basic data structures, try a project tutorial. If you can follow along and customize the code, head over to the intermediate tutorials.
