Explain __init__.py and __main__.py use
This commit is contained in:
parent
194465544a
commit
203ba10dbd
@ -1 +1,2 @@
|
||||
# ran on `import morss`
|
||||
from .morss import *
|
||||
|
@ -1,3 +1,4 @@
|
||||
# ran on `python -m morss`
|
||||
from .morss import main
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
Loading…
x
Reference in New Issue
Block a user