1
0
Fork 0
TakwayPlatform/main.py

10 lines
226 B
Python
Raw Normal View History

2024-05-01 17:18:30 +08:00
import os
if __name__ == '__main__':
script_path = os.path.join(os.path.dirname(__file__), 'app', 'main.py')
# 使用exec函数执行脚本
with open(script_path, 'r') as file:
exec(file.read())