Explain __init__.py and __main__.py use

master
pictuga 2017-11-04 13:17:12 +01:00
parent 194465544a
commit 203ba10dbd
2 changed files with 2 additions and 0 deletions

View File

@ -1 +1,2 @@
# ran on `import morss`
from .morss import *

View File

@ -1,3 +1,4 @@
# ran on `python -m morss`
from .morss import main
if __name__ == '__main__':