Files
socialmag/__init__.py
T

12 lines
602 B
Python

"""socialmag — post to social platforms through abang's logged-in Brave via CDP.
This is a package, not a pile of scripts, for one concrete reason: two of the
module names the design calls for — `selectors.py` and `queue.py` — collide
with stdlib modules that asyncio itself imports. Run flat and Python resolves
`selectors` to ours, and asyncio dies at import. As a package with relative
imports, the names are ours inside and the stdlib's outside.
Run it as: python3 -m socialmag (from the parent directory)
Not as: python3 socialmag/server.py (re-triggers the shadowing)
"""