
python
ustcyy91
这个作者很懒,什么都没留下…
展开
-
python的数学运算符
加 + 减 - 乘 * 除 / 次方 ** 取整 // 取余 %原创 2017-03-01 23:24:03 · 535 阅读 · 0 评论 -
pytesseract FileNotFoundError: [WinError 2] 系统找不到指定的文件的解决办法
https://www.2cto.com/kf/201712/703906.html转载 2018-05-11 10:51:04 · 2905 阅读 · 0 评论 -
Python 爬虫——模拟登陆豆瓣
import requests class Login(object): def __init__(self): self.headers = {'Referer': 'https://www.douban.com/login', 'Host': 'accounts.douban.com', ...原创 2018-05-10 19:51:42 · 383 阅读 · 0 评论 -
python 列表
1.普通列表 number=[2,4,7,8] 2.混合列表 mix=[3.14,33,"Hhh","我的"] 3.空列表 empty=[] 向列表 添加元素 :append() mix.append("杨阳") >>> mix [3.14, 33, 'Hhh', '我的', '杨阳'] 向列表 添加多个元素 :extend() mix.extend(["呵呵","原创 2017-03-03 15:06:24 · 189 阅读 · 0 评论 -
python for循环 range
range的使用原创 2017-03-02 15:18:30 · 176 阅读 · 0 评论 -
python while语句 else if 语句
while True: 就是一直循环原创 2017-03-01 23:50:05 · 403 阅读 · 0 评论 -
python的基础知识
alt+p 上一条语句 alt+n 下一条语句原创 2017-03-01 23:13:09 · 252 阅读 · 0 评论 -
Python---模拟登陆GitHub
import pytesseract import requests import ssl import time class Login2(object): def __init__(self): self.headers = {'Referer': 'https://github.com/login', 'Host':...原创 2018-05-11 22:25:43 · 261 阅读 · 0 评论