About the Book
The aim of Learn Python with Jupyter is to help you develop computational thinking—that is, the way we think when coding–while learning to code in Python.
Learn Python with Jupyter includes thirty‐eight chapters, each paired with a Jupyter Notebook where you can play with the code explained in the text. The code is embedded in narrative to provide context and support memorization, and it is enriched with suggestions for code pronunciation. Chapters contain both theory exercises, to verify the understanding of concepts, and coding exercises, to learn by doing. Exercise solutions are shared in the community forum, where you can ask questions and propose alternative approaches. And at the end of each chapter, you will find recaps and “in more depth” sections, with suggestions, tips, and curiosities.
Learn Python with Jupyter is written in a simple and approachable style while remaining precise and detailed. Its content has been tested and refined over more than a thousand hours of one‐on‐one teaching with international students of various educational backgrounds.
Learn Python with Jupyter includes thirty‐eight chapters, each paired with a Jupyter Notebook where you can play with the code explained in the text. The code is embedded in narrative to provide context and support memorization, and it is enriched with suggestions for code pronunciation. Chapters contain both theory exercises, to verify the understanding of concepts, and coding exercises, to learn by doing. Exercise solutions are shared in the community forum, where you can ask questions and propose alternative approaches. And at the end of each chapter, you will find recaps and “in more depth” sections, with suggestions, tips, and curiosities.
Learn Python with Jupyter is written in a simple and approachable style while remaining precise and detailed. Its content has been tested and refined over more than a thousand hours of one‐on‐one teaching with international students of various educational backgrounds.
GET THE BOOK!
DOWNLOAD THE JUPYTER NOTEBOOKS
Get the Notebooks for the published chapters. You can download them one by one from below, or all of them at once here
You can also download the notebooks in Español de México (translation by Rodrigo Ernesto Álvarez Aguilera)
PART 1: Creating the basics
PART 2: Introduction to lists and if/else statements
- In a bookstore
Lists and if... in... / else... - Grocery shopping
List methods: .append() and .remove() - Customizing the burger menu
List methods: .index(), .pop(), and .insert() - Traveling around the world
List slicing - Senses, planets, and a house
Changing, adding, and removing list elements using slicing
PART 3: Introduction to the for loop
PART 4: Numbers and algorithms
PART 6: Focus on lists and for loop
PART 7: Dictionaries and overview of strings
PART 8: Functions
- Printing Thank you cards
Function inputs - Login database for an online store
Function outputs and modular design - Free ticket at the museum
Input validation and output variations - Factorials
Recursive functions - Jupyter notebooks and modules
Working with Jupyter Notebook and an IDE
(additional file: setup_database.py)
PART 9: Last bits of basic Python
Join the LPWJ community
The Learn Python with Jupyter (LPWJ) community is a free space where you can find exercise solutions and ask questions
Join us in 3 easy steps!
3
Welcome!
You will get a notification in less than 24 hours
DERIVED WORK, MENTIONS, AND BOOK PRESENTATIONS
Derived work using Learn Python with Jupyter, mentions, and book presentations
DERIVED WORK
- Juno | JupyterLab-Based STEM Learning Environment - By Rodrigo Ernesto Álvarez Aguilera An immersive STEM learning environment for middle school students using JupyterLab, leveraging Docker Compose to orchestrate container deployments
BOOK PRESENTATIONS
- Introducing the ORMIR community and the book “Learn Python with Jupyter” - Python Pizza Hamburg (min. 1:53:58)
- Hands on bookclub workshop: “Learn Python with Jupyter” - PyLadies Hamburg
- La cultura del dato - Numero 75
- Introducing “Learn Python with Jupyter” - JupyterCon 2023 (min. 1:00:20)
- Introducing “Learn Python with Jupyter” - Project Jupyter's blog