1 Star 0 Fork 232

xwinkey / StockAnalysisSystem

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.py 820 Bytes
一键复制 编辑 原始数据 按行查看 历史
import os
import sys
import traceback
import import_all
import StockAnalysisSystem.api as sas_api
def main():
# project_path = os.path.dirname(os.path.abspath(__file__))
sas_api.main()
print('Process Quit.')
# ----------------------------------------------------------------------------------------------------------------------
def exception_hook(type, value, tback):
# log the exception here
print('Exception hook triggered.')
print(type)
print(value)
print(tback)
# then call the default handler
sys.__excepthook__(type, value, tback)
if __name__ == "__main__":
sys.excepthook = exception_hook
try:
main()
except Exception as e:
print('Error =>', e)
print('Error =>', traceback.format_exc())
exit()
finally:
pass
Python
1
https://gitee.com/xwinkey/StockAnalysisSystem.git
git@gitee.com:xwinkey/StockAnalysisSystem.git
xwinkey
StockAnalysisSystem
StockAnalysisSystem
master

搜索帮助