Closed repen closed 9 months ago
Hello. The command python -m bot.bot can be transformed into python -m bot. How to do this? Move the code from bot/bot.py to bot/__main__.py
python -m bot.bot
python -m bot
bot/bot.py
bot/__main__.py
https://github.com/nalgeon/pokitoki/blob/791af627c557be56a05cb5bda3efe6a433464f41/README.md?plain=1#L310
Thanks for the suggestion! I like it the way it is.
Hello. The command
python -m bot.bot
can be transformed intopython -m bot
. How to do this? Move the code frombot/bot.py
tobot/__main__.py
https://github.com/nalgeon/pokitoki/blob/791af627c557be56a05cb5bda3efe6a433464f41/README.md?plain=1#L310