Jump into Python programming with hands-on practice, right in your browser. No installations, no setups, no sign-in. These pages use embedded code blocks to edit and run code with notebooks to anchor learning and dig deeper. Notebooks are presented as both static and interactive formats. Static versions are ideal for quick finds and reference. Interative versions allow editing and running your own code.
Try, test, and tinker — it’s all part of the process.
Interativity Guide
Built to explore, notebooks can be used in an interactive, browser environment - no setup required. Web pages are paired with companion notebooks to improve learning and encourage testing.
Interactive content requires loading additional resources which my cause a delay when spun up.
Pages show an indicator at the top of page monitors the status. Interactive cells can be edited and feature a Run Code button that will generate the output below. Use these cells to test your understanding and explore coding concepts. Refreshing or leaving the page will remove all edits.
Interactive Notebooks open in a new tab and run using JupyterLite. See the Jupyter Notebook page, for details on using this environment. Exiting the page will remove all edits, so be sure to download work you want to save.
Start with the pages and then test yourself with notebooks.
About Python
Python is a general purpose programming language with many applications including data science, web dev, and game design. Whitespace is used in Python for structuring code, which improves readability. Indentation and spacing matter in Python. Python boasts of having batteries included- a nod to an extensive core library with tools for data import/export (I/O), data manipulation, and networking.
See The Zen of Python for more on Python philosophy.
Content Guide
| Topic | Page | Notebook | Interactive Notebook |
|---|---|---|---|
| Datatypes and Operators | Open | Show | Launch |
| Variables and Functions | Open | Show | Launch |
| Iteration and Flow Control | Open | Show | Launch |
| Errors and Experimentation | Open | Show | Launch |
| Hello World | Notebook only challenge! | Show | Launch |
| Expert Debugger | Notebook only challenge! | Show | Launch |
Ready to push your skills? Use the notebook challenges to reinforce your understanding with more hands-on practice without a direct web page guide to follow. Be sure to download and save a copy of any work you want to keep!
Standard Library Only
This section uses only the standard library for Python. This means all features and functionality are built into it-no additional pacakges. Packages greatly enhance programming capabilities and are used in other sections, but learning the basics comes first.
Why Python?
Python is a great starting point due to its readability, versatility, and large ecosystem. But, the right tool depends on the job. Remember, many programming concepts apply in many languages, so getting started in any can help get you started in all.
Check out the TIOBE Index for more information on popular languages and trends.
Hands on is the only true way to learn programming
Nothing to break here, no risks, consider this a playground for learning.
Try, test, and tinker — it’s all part of the process.