Affiliate disclosure

Book titles on this page link to Amazon. As an Amazon Associate, DataField.Dev earns from qualifying purchases — at no additional cost to you.

Chapter 2 Further Reading

Official Documentation

  • The Python Tutorial (docs.python.org) https://docs.python.org/3/tutorial/index.html The official Python tutorial. It says up front that it's written for programmers who are new to Python rather than for complete beginners, so treat it as a second explanation, not your first. Sections 2-3 ("Using the Python Interpreter" and "An Informal Introduction to Python") cover the interpreter and the REPL — the same ground as this chapter, with more technical depth.

  • Python.org — print() Documentation https://docs.python.org/3/library/functions.html#print The full specification of the print() function, including parameters we haven't covered yet (like file and flush). Learning to read official documentation is a skill that will serve you throughout your career.

  • VS Code — Getting Started with Python https://code.visualstudio.com/docs/python/python-tutorial Microsoft's guide to using Python in VS Code. Covers installation, running scripts, the integrated terminal, and debugging — all with screenshots and step-by-step instructions.

Historical Context

  • Kernighan, B. W., & Ritchie, D. M. (1978). The C Programming Language. Prentice Hall. The book that made "hello, world" famous (Kernighan had used the example earlier, in Bell Labs tutorials for B in 1972 and C in 1974 — see Case Study 1). Known as "K&R," it's still in print in its 1988 second edition and is considered one of the most influential programming books ever written. You don't need to read it now, but it's interesting to know that the tradition you just joined is over 50 years old.

  • Kernighan, B. W. A Tutorial Introduction to the Language B. https://plan9.io/cm/cs/who/dmr/btut.html The 1972 Bell Labs tutorial containing the earliest known "hello, world" program, preserved online from Dennis Ritchie's archive. Search the page for hell to find it.

  • "Hello, World!" Collection https://helloworldcollection.de/ A collection of "Hello, World!" programs in over 600 programming languages, from mainstream (Python, Java, C++) to esoteric (Brainfuck, Whitespace, LOLCODE). Great for appreciating how different language designs approach the same simple task.

Terminal and Command Line

  • The Missing Semester of Your CS Education — Introduction to the Shell https://missing.csail.mit.edu/2026/course-shell/ A free lecture and notes from MIT (updated for 2026) covering the terminal and shell in much more depth than this chapter. If you want to get truly comfortable with the command line, this is the best free resource available.

  • Django Girls Tutorial — Introduction to the Command-Line Interface https://tutorial.djangogirls.org/en/intro_to_command_line/ A free, friendly walkthrough of essential terminal commands for complete beginners, with side-by-side instructions for Windows, macOS, and Linux. Covers opening the terminal, navigating folders, and creating and deleting them. Useful if you feel you need more practice with the terminal before moving on.

Learning Resources

  • Python for Everybody (py4e.com) https://www.py4e.com/ Dr. Charles Severance's free Python course covers similar ground to this textbook from a slightly different angle. The first few chapters overlap with our Chapters 2-5. Good for reinforcement if you want a second explanation of the same concepts.

  • Automate the Boring Stuff with Python https://automatetheboringstuff.com/ Al Sweigart's practical Python book is freely available online. Its Introduction and Chapter 1, "Python Basics," cover much the same ground as this chapter. The rest of the book focuses on real-world automation — renaming files, scraping websites, manipulating spreadsheets — which aligns with Elena's story in our textbook.

  • Real Python — How to Use Python: Your First Steps https://realpython.com/python-first-steps/ A well-written tutorial that covers installation, the REPL, and first programs. Real Python is one of the best Python tutorial sites on the web; bookmark it for future reference.

Going Deeper

  • How Python Works: Interpreter Internals (for the curious) If you're interested in what happens "under the hood" when Python executes your code, look up "CPython bytecode" and "Python virtual machine." You absolutely don't need this for the course, but if the distinction between interpreted and compiled languages intrigued you, this rabbit hole is worth exploring when you have time.

  • VS Code Tips and Tricks https://code.visualstudio.com/docs/getstarted/tips-and-tricks Keyboard shortcuts, multi-cursor editing, integrated terminal tricks, and more. Learning your editor well is one of the highest-return investments a developer can make.