# bin(文件夹,存放启动程序)
# star.py(启动文件,即执行程序)
# 启动程序入口
# 1.将当前ATM项目工程,添加解释器的环境变量
import os # 与操作系统进行交互
import sys # 与解释器进行交互
# 1) 获取ATM的目录路径
base_path = os.path.dirname(__file__)
# 2) 将项目路径添加到解释器的环境变量中
sys.path.append(base_path)
# 3) 将视图层中的执行函数,引用到当前位置执行
from core import src
if __name__ == '__main__':
# 执行src模块中的run函数
src.run()