Files
study-tool/app.py
T

16 lines
431 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env python3
"""多账号学习控制台 —— 启动入口。
真正的代码在 src/study_tool/ 包里,这里只把 src 加进 sys.path 再调 main(),
这样 `python app.py`、`start.bat`、Dockerfile 都不用改。
"""
import os
import sys
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), "src"))
from study_tool.app import main # noqa: E402
if __name__ == "__main__":
main()