3

I want to create a Python library called blah with a directory structure like:

blah/
├── blah/
   ├── __init__.py
   └── file.py

Currently, to run the code in file.py we have to run python3 -m blah.file .... Is there any way to structure the library so that we can simply write python3 -m blah ...?

The library contains some utility scripts that will be called many times a day and the shorter command will save millions of keystrokes.

2

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.