Activating the Virtual Environment

I am just beginning Project 3 – Web Applications in Eric Matthes’ Python Crash Course, 2nd ed. I hit some snags to solve at the very start, first getting the directory set up in the command prompt terminal, then activating the “virtual environment” in that directory.
Continue reading Activating the Virtual Environment

Better Stars solution

I’m going through Python Crash Course, 2nd edition, by Eric Matthes.

He posts solutions for “Try It Yourself” questions for all chapters except 12, 13, and 14, which cover his Alien Invasion project. This is the solution I came up with for 13-2. Better Stars, on p. 264.

This post will likely only make sense to people also working through the problem sets in the book.
Continue reading Better Stars solution