Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Python Illustrated
  • Table Of Contents Toc
Python Illustrated

Python Illustrated

By : Maaike van Putten, Imke van Putten
close
close
Python Illustrated

Python Illustrated

By: Maaike van Putten, Imke van Putten

Overview of this book

This is not your average Python programming book, because the world doesn’t need another one of those. Instead, it’s an illustrated, fun, and hands-on guide that treats learning Python like the adventure it should be. It’s designed especially for beginners who want to understand how code works without getting overwhelmed. You’ll be guided by a cheeky, know-it-all cat who’s surprisingly good at teaching Python from scratch. Don’t worry about going through it alone; a slightly moody dachshund dog is your study buddy, learning right alongside you. Each chapter introduces a core programming concept, explains it with a playful twist, and reinforces it through human-friendly examples, analogies, and exercises. Whether you’re a software professional or someone who’s never written a single line of code, this book will help you build real Python coding skills… and even enjoy the process (shocking, right?). Forget dry tutorials and walls of text. Python Illustrated speaks to visual learners, creative thinkers, cat lovers, dog lovers, and anyone who prefers their learning with a dash of humor. From writing your first function to understanding object-oriented programming, you’ll build a solid foundation in Python (without the usual headaches).
Table of Contents (19 chapters)
close
close
Lock Free Chapter
1
Introduction
14
Other Books You May Enjoy
15
Index
1
Appendix A: Exercise Files

Running your first Python program

In order to run our program, we’re going to need the terminal again. So, let’s open the terminal as a first step. We have an additional challenge before we can run it: we need to find the file. Let’s start by asking ourselves the question, where is the file saved? Let’s say that, on my laptop (macOS), it’s stored here:

/Users/zia/Documents/pythoncourse

The easiest way to go there is by entering the full (absolute) path in the terminal, like this:

cd /Users/zia/Documents/pythoncourse

Let’s make sure we’re in the correct folder by asking where we are:

pwd

If you want to see the files that are in there, you can run the dir command for Windows and the ls command for macOS and Linux.

Now that we’re in the correct location, we’ll run the program. We do this by typing the python command, this time not followed by --version, but by the name of the file. So please...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Python Illustrated
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon