Creating modules: Your own library

Any file with a .py extension is automatically a module. You can put functions or variables in it and use them from a main script. That structures a project and separates concerns — for example database code in one file and calculations in another.

Full content is available with a subscription.
Get full access to all courses on the platform for one year with a single payment.
Unlike other platforms that charge per course, here you get everything for one price, and after one year of use there will be no automatic charge for the following year.