Use main.py in Python “The magic file main.py is called when you run your project with the -m module flag. If you code is intended to be used a module first, and command line interface second, this makes perfect sense to use. Think of it as a place we can put whatever would be in our body of our if name === "main" statement.” SHANE O’NEILL
Appears in lists (1)
More like this (4)
Asynchronous Tasks in Django With Redis and Celery Get a general understanding of why Celery message...
Structuring Your Python Project “Which functions should go into which modules? How does data flow through...