Each learning path is one chapter: a guided route through a topic, one small course at a time. Pick a class to see its chapters in order.
Work with whole tables of numbers in NumPy, and draw clear graphs with matplotlib.
Let the computer do the heavy maths: find roots, solve systems of equations, and work out derivatives and integrals.
Use randomness to simulate experiments, and analyse real tables of data with pandas.
Chemists spend hours on the same calculations: molar masses, moles, limiting reagents, dilutions. In this chapter you write the programs that do them for any formula and any reaction, and then turn the periodic table into a data table that you can sort, plot and search for patterns. It goes with the chapters Some Basic Concepts of Chemistry and Classification of Elements, so each program checks what you learn there.
Make your own kinds of thing with classes, then build on them with inheritance and special methods.
Read and write files in common formats, and handle data neatly with comprehensions, iterators and generators.
Build stacks, queues, trees and graphs, and learn to test your code and track down bugs.
Look things up by name with dictionaries, and meet tuples and sets for data that never changes or has no repeats.
Catch errors with try and except so that programs do not crash, and borrow ready-made tools from modules.
Find and order data with classic algorithms, and write functions that call themselves.
Cut, clean and count text. Then build real tools that use everything in this book.
Write your first programs. Print messages, keep values in variables, and let Python do the arithmetic. Every lesson runs in your browser.