摘要: #!/usr/bin/python# -*- coding: gbk -*-#@PyName : #@author : whx#date : 2012-1-8#描述 :#version : 1.0#-------------------------------------------------------------------------------import MySQLdbimport reimport ConfigParserimport osimport MyLogDef_Mark = "请尽快处理(您可以点击这里参考告警类型说明及处理建议)。 本邮件为系统推送,请不要直 阅读全文
posted @ 2013-02-22 17:31 老鸟菜了 阅读(480) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*-import os#存放配置文件目录filePath = os.path.join(os.path.dirname(__file__), 'pyConfig')#文件名fileName = "pyInfo.txt"## 解析Excel# ## Noneclass ReadPySlx(): ## 初始化 # @parma beginLine 数据从哪一行开始有效 # @parma fileName 目标文件名 ## return None def __init__(self, beginLine, fileNam. 阅读全文
posted @ 2013-02-22 17:27 老鸟菜了 阅读(593) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python# -*- coding: UTF-8 -*-#@PyName : MyLog#@author : whx#date : 2012-12-24#描述 :log模块#version : 1.0#-------------------------------------------------------------------------------import loggingimport osimport timeCurTime = time.strftime("%Y-%m-%d", time.localtime())FilePath = 阅读全文
posted @ 2013-02-22 17:25 老鸟菜了 阅读(326) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*-import sysimport os#{副本Id:py名}MapNameDict = { 100:'cp_icefield_100', 101:'Greece_101', }#cp_icefield_100.py, Greece_101.py 放在gameSys包中filePath = os.path.join(os.path.dirname(__file__), 'gameSys')## 玩家进去副本后C++调用# @parma *args c++传递的参数(包含... 阅读全文
posted @ 2013-02-22 17:23 老鸟菜了 阅读(219) 评论(0) 推荐(0) 编辑