
python
zhouxianglh
这个作者很懒,什么都没留下…
展开
-
Hello Python
今天心情很烦,直接上码 # python3 基本语法 # 变量的定义不需要声明 numberA = 10 numberB = 20 # if-elif-else的使用,这里语法块根据缩进来表示 if numberA > numberB : print('numberA > numberB') elif numberB > numberA : ...2013-04-29 00:03:20 · 127 阅读 · 0 评论 -
python获取网站图片
# zhouxianglh 2013.05.03 python3.3 import urllib.request from html.parser import HTMLParser import re import os import shutil import time url = "http://www.douban.com/" filePath = "D:\\temp...2013-05-08 08:56:17 · 221 阅读 · 0 评论 -
Python3模拟登录获取页面内容
# zhouxianglh 2013.05.03 python3.3 # Python 模拟登录,然后记录cookie,之后获取公司OA主页公文信息 import urllib.request import http.cookiejar from html.parser import HTMLParser import re import os import shutil # 公...2013-05-08 17:32:04 · 528 阅读 · 0 评论 -
Python3模拟金山快盘打卡
# zhouxianglh 2013.05.09 python3.3 # Python 模拟登录,然后记录cookie,打卡签到 import urllib.request import http.cookiejar import json import sys # 登录金山快盘 params = {"username":"用户名", "userpwd":"密码", "i...2013-05-09 11:28:39 · 199 阅读 · 0 评论