摘要: import pymssqlimport loggingdef createCursor(serverAddress, userName, password, dataBase): # create connection and cursor conn = pymssql.connect(serve 阅读全文
posted @ 2021-10-05 20:23 石棠 阅读(47) 评论(0) 推荐(0)
摘要: import shutilfrom DataCleaning.library.functions.changeDirectory import *import loggingimport datetimedef copy2Output(outputFileName, storagePath, tar 阅读全文
posted @ 2021-10-05 20:22 石棠 阅读(43) 评论(0) 推荐(0)
摘要: import csvimport loggingfrom DataCleaning.library.functions.changeDirectory import *from floatFormatter import *from DataCleaning.library.functions.ad 阅读全文
posted @ 2021-10-05 20:22 石棠 阅读(44) 评论(0) 推荐(0)
摘要: import logging# returns corresponding tempAbbr, tempStdCountryName, tempGEO for given countryNamedef citySearcher(cityName, citySearcherDic): cityName 阅读全文
posted @ 2021-10-05 20:21 石棠 阅读(25) 评论(0) 推荐(0)
摘要: import os# change the current working directory from 'project\src\development' to 'project\volume\data\external'def development2External(naming = ""): 阅读全文
posted @ 2021-10-05 20:20 石棠 阅读(33) 评论(0) 推荐(0)
摘要: from DataCleaning.library.functions.changeDirectory import *def appendString2Txt(string, target, targetPath = ""): tempWD = os.getcwd() if targetPath 阅读全文
posted @ 2021-10-05 20:19 石棠 阅读(23) 评论(0) 推荐(0)
摘要: def addRow(row, strLines, sep = "|"): strTemp = "" for i in range(len(row)): strTemp += row[i].replace(sep, " ") + sep return strLines + strTemp[:-1] 阅读全文
posted @ 2021-10-05 20:19 石棠 阅读(47) 评论(0) 推荐(0)
摘要: import osimport sys# add path to lib envdef addPath(target, scriptPath): ## Add path 'project\src\target' to system path os.chdir(scriptPath) # change 阅读全文
posted @ 2021-10-05 20:17 石棠 阅读(67) 评论(0) 推荐(0)
摘要: 离线/在线迁移 自 Liberty 以来,Neutron 维护着两个平行的 Alembic 迁移分支。 第一个称为“扩展”,用于存储仅扩展迁移规则。这些规则是严格附加的,可以在 neutron-server 运行时应用。添加数据库模式更改的示例包括:创建新表、添加新表列、添加新索引等。 第二个分支称 阅读全文
posted @ 2021-06-19 23:08 石棠 阅读(336) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-04-14 09:22 石棠 阅读(115) 评论(0) 推荐(0)