Stuart Williams demonstrates and explains 500 Python expressions, grouped by topic, evaluated at the interactive Python prompt, with some brief examples of complete Python programs. In exercises interspersed with the demonstrations, you’ll experiment with another 500 expressions to solidify your understanding of the topic. Each pairing of demonstration and experimentation lasts less than 15 minutes.
Special attention is given to variables (names, namespaces, and objects) because many programmers new to Python assume they understand how the variables work based on experience in other languages but later get tripped up by those assumptions. Lists and dictionaries, two of Python’s workhorse data structures, also receive a lot of attention.
Stuart Williams is a software architect at IGM Financial where he helps data scientists with Python. He’s the author of the O’Reilly video Python Epiphanies, and he teaches Scientific Computing with Python for the Physics Department at th University of Winnipeg.
©2019, O'Reilly Media, Inc. • (800) 889-8969 or (707) 827-7019 • Monday-Friday 7:30am-5pm PT • All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. • firstname.lastname@example.org