Commit 68d85bc0 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

新增流程十数据库验证脚本

parent 12e33fe7
...@@ -15,6 +15,10 @@ curPath = os.path.abspath(os.path.dirname(__file__)) # 获取当前文件的所 ...@@ -15,6 +15,10 @@ curPath = os.path.abspath(os.path.dirname(__file__)) # 获取当前文件的所
rootPath = os.path.split(curPath)[0] # [0]表示元组中的为一个元素 rootPath = os.path.split(curPath)[0] # [0]表示元组中的为一个元素
# print('当前项目的根目录', rootPath) # print('当前项目的根目录', rootPath)
sys.path.append(rootPath) # 将项目的根目录路径添加到环境变量中,然后在cmd命令行中就可以正常运行脚本 sys.path.append(rootPath) # 将项目的根目录路径添加到环境变量中,然后在cmd命令行中就可以正常运行脚本
print('rootPath',rootPath)
sys.path.append(os.path.join(rootPath,'common'))
print(sys.path)
import tkinter as tk import tkinter as tk
from tkinter import * from tkinter import *
import tkinter.messagebox import tkinter.messagebox
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment