python–开发器模板
# -*- coding: utf-8 -*-
"""
author:drliu
date:${DATE}
desc:
sample:
"""
# -----------------------------------------------------------------------------------------------------------
# 调用系统库,三方库
# -----------------------------------------------------------------------------------------------------------
import os
import sys
# -----------------------------------------------------------------------------------------------------------
# 跨文件夹调用
# -----------------------------------------------------------------------------------------------------------
g_script_path = os.path.split(os.path.realpath(__file__))[0]
g_install_dir = os.path.realpath(g_script_path + '/../')
exception_list = []
if g_install_dir not in sys.path:
sys.path.append(g_install_dir)
if g_script_path not in sys.path:
sys.path.append(g_script_path)
from lib.print_log import print_log