Page 81 - Beginning Programming with Pyth - John Paul Mueller
P. 81

Defining the code repository
The code you create and use in this book will reside in a repository on your hard drive. Think of a repository as a kind of filing cabinet where you put your code. Notebook opens a drawer, takes out the folder, and shows the code to you. You can modify it, run individual examples within the folder, add new examples, and simply interact with your code in a natural manner. The following sections get you started with Notebook so that you can see how this whole repository concept works.
Defining the book’s folder
It pays to organize your files so that you can access them more easily later. This book keeps its files in the BPPD (Beginning Programming with Python For Dummies) folder. Use these steps within Notebook to create a new folder:
1. Choose New ⇒ Folder.
Notebook creates a new folder named Untitled Folder, as shown in
Figure 4-6. The file appears in alphanumeric order, so you may not initially see it. You must scroll down to the correct location.
2. SelecttheboxnexttotheUntitledFolderentry.
3. Click Rename at the top of the page.
You see a Rename Directory dialog box like the one shown in Figure 4-7.
4. Type BPPD and click Rename.
Notebook changes the name of the folder for you.
5. Click the new BPPD entry in the list.
Notebook changes the location to the BPPD folder in which you perform tasks related to the exercises in this book.
  




















































































   79   80   81   82   83