Create a Project Directory
Before we start writing our code, we need a place for it to live. Computer programs are usually a collection of multiple files working together, so it is a good idea to group all the files you will need for a project in a single folder (folders are often called directories—I use folder and directory interchangeably in this book). I have a directory called projects where I group all such project directories. Create a directory called kittenbook somewhere on your hard drive. You can create a new directory by using your file browser (Finder on Mac, Windows Explorer on Windows, and Nautilus on Linux) and clicking File → New Folder.