上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 35 下一页
摘要: English Message : You need to refer to MySql.Data.dll↵Chinese Message : 需要引用MySql.Data.dll,请在Nuget安装最新稳定版本,如果有版本兼容问题请先删除原有引用 下载sqlsugar源码,复制下面的mysql.d 阅读全文
posted @ 2019-06-26 10:14 zipon 阅读(4943) 评论(0) 推荐(0) 编辑
摘要: SQLSUGAR http://www.codeisbug.com/Doc/8/1159 附带mysql工具类,最优使用上面sqlsugar 阅读全文
posted @ 2019-06-24 15:23 zipon 阅读(3106) 评论(0) 推荐(0) 编辑
摘要: [DllImport("shlwapi.dll", CharSet = CharSet.Unicode)] private static extern int StrCmpLogicalW(string psz1, string psz2); /// <summary> /// 根据路径查到文件,按 阅读全文
posted @ 2019-06-24 15:19 zipon 阅读(926) 评论(0) 推荐(0) 编辑
摘要: /// /// 结束进程和相关的子进程 /// /// 需要结束的进程ID public static void KillProcessAndChildren(int pid) { ManagementObjectSearcher searcher = new ManagementObjectSearcher("Select * From Win32_Process Wh... 阅读全文
posted @ 2019-06-21 15:51 zipon 阅读(501) 评论(0) 推荐(0) 编辑
摘要: # 下划线转驼峰 def str2Hump(text): arr = filter(None, text.lower().split('_')) res = '' j = 0 for i in arr: if j == 0: res = i else: res = res + i[... 阅读全文
posted @ 2019-04-28 15:30 zipon 阅读(2973) 评论(0) 推荐(0) 编辑
摘要: def getDataFromExcel(excelPath): file = load_workbook(excelPath) sheetnames = file.sheetnames print(sheetnames) ws = file[sheetnames[0]] for i in rang 阅读全文
posted @ 2019-04-28 00:36 zipon 阅读(1376) 评论(0) 推荐(0) 编辑
摘要: 带参数的要用三层def,第一层写注解里的参数,第二层写函数,第三层写具体逻辑。 如果是不带参数的注解,直接使用后两层即可 阅读全文
posted @ 2019-04-23 10:24 zipon 阅读(1447) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*- import json import requests import logging as logger from python.akskapp.scripts.api.baseHandler import R class AuthSdk(object): # 登录 def loginToAuthcenter(self,... 阅读全文
posted @ 2019-04-23 10:22 zipon 阅读(640) 评论(1) 推荐(0) 编辑
摘要: 转:https://blog.csdn.net/Free_Wind22/article/details/81628721 1、在Git官网上点击New repository新建项目; 2、在本地新建一个同名文件; 3、打开git bash切换到新建的文件目录; 4、echo "# myproject 阅读全文
posted @ 2019-04-19 15:28 zipon 阅读(1603) 评论(0) 推荐(0) 编辑
摘要: tornado本身是不支持直接获取json入参的,在BaseHandler中定义方法get_json_argument,以供调用 阅读全文
posted @ 2019-04-18 16:03 zipon 阅读(2016) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 35 下一页