A BlackAdder project is a simple entity: a grouping of Python scripts and GUI form designs, and perhaps a few extraneous files and folders. You start a project by choosing New Project from the File menu.
Creating a new project.
In this example, we create a project for the editor we develop in Part III of this book.
After you have created the project, you can add items to the project by choosing File-Add file to project, or by creating new files.
Adding a file to a project.
Project files (ending in the .bap extension) are saved by default in the directory you started BlackAdder from. Using File-Save Project As, you can save your project file wherever you want.
The project explorer shows all files that are part of your project, and all Python files that can be found on the default Python path.
The Project Explorer in BlackAdder.
By choosing Window-Close Project you can close your project again. If you close BlackAdder and restart it, it will automatically open your projects again. Every project has its own window in BlackAdder. You can have more than one project open at a time, each in a separate MDI window, and each with its own set of panes. (Again, this is not a good example to emulate; see Chapter 16 for a discussion of document/view paradigms).