Reading Guide to Automate the Boring Stuff, Second Edition, for Readers of the First Edition
Posted by Al Sweigart in misc
Posted by Al Sweigart in misc
Posted by Al Sweigart in misc
A quick guide to using type hints in Python.
Posted by Al Sweigart in misc
5 Stars: An excellent project-based book for young readers who want to move beyond Scratch
Code This Game is an excellent book that teaches Python programming by guiding the reader through making a tower-defense game from scratch. This is a book that doesn't shy away from programming detail, but manages to remain fun and engaging. If you have a student or child who wants to move beyond MIT's Scratch programming tool and do "real" programming, this is a great book.
Posted by Al Sweigart in misc
Posted by Al Sweigart in misc
Here are all the new additions and updates in the second edition.
Posted by Al Sweigart in misc
Posted by Al Sweigart in misc
Posted by Al Sweigart in misc
A recent post to Reddit sparked some comments, so I wanted to clarify: In Python, hashable objects must be immutable and mutable objects cannot be hashable. (With one exception.)
Posted by Al Sweigart in misc
Alternative Title: The Little Schemer Wears No Clothes
Perhaps a software engineer or MIT professor friend of yours recommended this book to you. “Oh, you want to learn how to code? You should read The Little Schemer,” they’ll say. Your friend means well, but is completely wrong to recommend this book.
Posted by Al Sweigart in misc
Python's packaging ecosystem contains multitudes. It can be intimidating for new Python developers to try to crack into, especially given the rapid evolution of Python packaging. Writing a *helloworld.py* file and running it on your computer is simple, but getting it to run on someone else's computer (and doing this the "right" way) involves a tangle of terms, tools, and techniques. What are wheel files? What is distutils? Do I use distutils or easy_install or pip?
To get to the bottom of this myself, I've compiled a curriculum of PyCon talks, online documentation, and my own personal notes to finally get a complete handle on Python packaging.