上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 87 下一页

2018年10月18日

摘要: 在Python中可以方便地使用os模块运行其他的脚本或者程序,这样就可以在脚本中直接使用其他脚本,或者程序提供的功能,而不必再次编写实现该功能的代码。为了更好地控制运行的进程,可以使用win32process模块中的函数。1 使用os.system函数运行其他程序2 使用ShellExecute函数 阅读全文
posted @ 2018-10-18 18:00 帅胡 阅读(12785) 评论(0) 推荐(0) 编辑
摘要: 控制鼠标 监听鼠标 控制键盘 监听键盘 阅读全文
posted @ 2018-10-18 13:26 帅胡 阅读(8474) 评论(0) 推荐(0) 编辑

2018年9月5日

摘要: 从网上抓了一些字节流,想打印出来结果发生了一下错误: UnicodeEncodeError: 'gbk' codec can't encode character '\xbb' in position 8530: illegal multibyte sequence 代码 错误信息让人很困惑,为什么 阅读全文
posted @ 2018-09-05 15:51 帅胡 阅读(384) 评论(0) 推荐(0) 编辑

2018年6月18日

摘要: 有关/proc/uptime这个文件里两个参数所代表的意义: [root@app ~]#cat /proc/uptime 3387048.81 3310821.00 第一个参数是代表从系统启动到现在的时间(以秒为单位):3387048.81秒 = 39.20195381944444天,说明这台服务器 阅读全文
posted @ 2018-06-18 19:00 帅胡 阅读(328) 评论(0) 推荐(0) 编辑

2018年6月17日

摘要: 错误提示: 这个授权密钥已被吊销。 解决方法: 删除以下目录中的所有文件即可。 阅读全文
posted @ 2018-06-17 17:17 帅胡 阅读(976) 评论(0) 推荐(1) 编辑

2018年6月2日

摘要: App Scan用法: 首先打开IBM Security AppScan Standard 工具 点击 创建新的扫描 -> 点击”常规扫描“ ->之后你就会看到如下图: 这里你可以直接点击 ”下一步“ 或是点击 ”完整扫描配置“ 先点击 ”完整扫描配置“ URL 和服务器 1.在起始URL中输入你要 阅读全文
posted @ 2018-06-02 22:40 帅胡 阅读(947) 评论(0) 推荐(0) 编辑

2018年5月22日

摘要: "6fe28c0ab6f1b372c1a6a246ae63f74f931e8365e15a089c68d6190000000000".decode('hex')[::-1].encode('hex_codec') #=> 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f 阅读全文
posted @ 2018-05-22 15:43 帅胡 阅读(6892) 评论(0) 推荐(0) 编辑

2018年5月17日

摘要: 首先点击编辑->首选项 阅读全文
posted @ 2018-05-17 12:02 帅胡 阅读(3593) 评论(0) 推荐(0) 编辑

2018年5月3日

摘要: 因为这个函数时linux下专用的,Windows下无法使用,所以会导致提示这个函数不能使用,解决的方法如下: 1. import platform 2. if platform.system() == "Linux": _os.fchmod(fl.fileno(), reader.mode if o 阅读全文
posted @ 2018-05-03 15:14 帅胡 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 1 #!/bin/python 2 # 3 import platform 4 5 def TestPlatform(): 6 print ("----------Operation System--------------------------") 7 #Windows will be : (32bit, WindowsPE) 8 #Linux wi... 阅读全文
posted @ 2018-05-03 15:01 帅胡 阅读(1996) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 87 下一页

导航