
Python
python
Anonymous..
这家伙很懒,什么也没留下
展开
-
c++、python执行exe文件的方法
VC中调用其他可执行程序,可以使用ShellExecute函数,函数如下 HINSTANCE ShellExecute(HWND hwnd,LPCTSTR lpVerb,LPCTSTR lpFile, LPCTSTR lpParameters,LPCTSTR lpDirectory,INT nShowCmd); 参数详解: lpVerb:对lpFile要执行的行为,包括"open","ex...原创 2019-08-16 10:00:18 · 661 阅读 · 0 评论 -
python批量抓取网页图片
一种基于urllib的爬虫,结构非常简单,但是好像只能抓取http协议的网页的图片。 #!/usr/bin/python3 # -*- encoding:utf-8 *-* from urllib import request import re import sys def getResponse(url): url_request = request.Request(...原创 2019-08-13 16:48:56 · 1118 阅读 · 0 评论