--查找被阻塞进程Select*frommaster..sysprocesseswheredbid=9andblocked>0--查找阻塞头进程select*frommaster..sysprocessespwheredbid=9andblocked<=0andexists(select1frommaster..sysprocesseswhereblocked=p.spid)--查找等待时间长的进程Select*frommaster..sysprocess
系统 2019-08-12 01:51:45 2297
http://blog.csdn.net/aiwoziji13/article/details/7330333http://blog.csdn.net/hbuxiaoshe/article/details/6558391http://blog.csdn.net/hbuxiaoshe/article/details/6560285http://blog.csdn.net/shuhuai007/article/details/8540606http://blo
系统 2019-08-12 01:32:23 2297
FileModificationTime|DaniWebThefunctionsarecontainedinmoduleos.Functionos.path.getmtime()givesyouthelastmodifiedtimeinsecondssincethebeginningof1/1/1970(epoch).Youhavetodosomeformattingwithmoduletimefunctionstomakeitreadableforthe
系统 2019-08-12 01:32:23 2297
筛选时间原页面的发车时间太宽了,如果只想要16:30-19:20的票就没法选。我一般是这个时间段回去。chrome里面,右键->审查元素(发车时间那个下拉列表)->修改value->重新选一下下拉列表那个改动过的项。刷新时间F12->Console->输入autoSearchTime=500->回车。这样选择自动查询后,就会每隔500ms刷新一次了。12306常用技能
系统 2019-08-12 01:32:03 2297
操作tagstack的是ctrl-]与ctrl-t:tags查看tagstack操作jumplist的是ctrl-i与ctrl-o(in/out):jumps查看jumplistcscope构造cscope数据库:cscope-Rbq,R是递归,b是build后即退出,q是创建倒排表来加快查找。:cscopefindsymbolxxx列出所有这个symbol出现的地方,简写为:csfsxxx:cscopefindcallingxxx列出所有call这个fu
系统 2019-08-12 01:32:02 2297
题目:CSV格式清洗与转换描述附件是一个CSV格式文件,提取数据进行如下格式转换:(1)按行进行倒序排列;
系统 2019-09-27 17:57:03 2296
这里主要是总结学习过程中遇到的一些问题和注意事项文章目录关于函数参数问题默认参数可变参数关键参数关于函数作为返回值关于Function和Method理解关于函数参数问题默认参数函数参数可以有默认参数,而默认参数使用不当很容易掉坑里。defpersonInfo(name,age=22,city='BeiJing'):print(name,age,city)personInfo('allen')#==>allen22BeiJingpersonInfo('all
系统 2019-09-27 17:56:22 2296
环境:安装了pyenv,pippyenvglobal3.6.8pipinstallhdfspipinstallipython(个人喜欢使用pyenv的自动补全功能)安装完hdfs后建议重启,测试过程出现了hdfs模块找不到的情况注意:客户端分为Client和InsecureClient,Client需要验证权限In[1]:fromhdfsimportInsecureClientIn[2]:client_hdfs=InsecureClient('http:/
系统 2019-09-27 17:55:35 2296
要求1.安装百度pythonAPI2.到百度智能云创建应用3.调用API,代码1.安装百度pythonAPI使用pip安装pip3installbaidu-api2.到百度智能云创建应用-如下图创建应用得到APP_IDAPI_KEYSECRET_KEY3.调用API,代码fromaipimportAipFaceimportbase64importurllibimportcv2"""你的APPIDAKSK"""APP_ID='你的APP_ID'API_KEY
系统 2019-09-27 17:55:13 2296
本文实例讲述了Python使用pyautocad+openpyxl处理cad文件。分享给大家供大家参考,具体如下:示例1:frompyautocadimportAutocadimportopenpyxlwb=openpyxl.load_workbook('./cads.xlsx')sheet=wb.get_sheet_by_name('Sheet1')data=[]pset=[]acad=Autocad(create_if_not_exists=True)
系统 2019-09-27 17:54:58 2296