Startup configuration files 0 ▲ mathspp.com feed 47 days ago · Tech · hide · Fediverse post Learn how to use startup configuration files to run package entry points when the Python interpreter starts up. A startup configuration file is a file with the extension .start. Starting from Python 3.15, the Python interpreter uses startup configuration files to run package entry points when the interpreter starts up. Here is an example of a simple startup configuration file that installs error-links when the Python interpreter starts: error_links:install The entry point error_links:install from the above points to the function install from the module error_links. In general, an entry point resembles an import: the import path followed by a colon followed by the callable that gets called For the entry point error_links:install, the equivalent import would be from error_links import install. The module site and some historical context The module site, from the standard library, is imported automatically when the Python interpreter starts up. When imported, the module site does a… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town