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
Get Learning to Program now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.