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
-
Python.org — Getting Started https://docs.python.org/3/tutorial/index.html The official Python tutorial, written for people who already know another language but excellent as a reference. Sections 1-3 cover installation, the interpreter, and basic usage — the same material as this chapter, with more technical depth.
-
Python.org —
print()Documentation https://docs.python.org/3/library/functions.html#print The full specification of theprint()function, including parameters we haven't covered yet (likefileandflush). 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. (1978). "hello, world" — The Origins The first "Hello, World!" appeared in Kernighan and Ritchie's The C Programming Language (Prentice Hall, 1978). The book, known as "K&R," is still in print 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 participated in dates back almost 50 years.
-
"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 — The Shell https://missing.csail.mit.edu/2020/course-shell/ A free lecture and notes from MIT 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.
-
Command Line Crash Course (Learn Code the Hard Way) A concise walkthrough of essential terminal commands for beginners. Covers file navigation, creation, deletion, and basic scripting on both Unix and Windows. 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. Chapters 1-2 cover the same foundational material 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 — Your First Python Program 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.