Basic directory structure

There is no official standard for laying out a Python application directory, but there are some common conventions that will help us keep things tidy and make it easier to package our software later on. Let's set up our directory structure as follows:

  1. To begin, create a directory called ABQ_Data_Entry. This is the root directory of our application, so whenever we refer to the application root, this is it.

 

  1. Under the application root, create another directory called abq_data_entry. Notice it's in lowercase. This is going to be a Python package that will contain all the code for the application; it should always be given a fairly unique name so that it won't be confused with existing Python packages. Normally, ...

Get Python GUI Programming with Tkinter 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.