摘要:
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)

浙公网安备 33010602011771号