摘要: Command "python setup.py egg_info" failed with error code 1 in C:\Users\80237102\AppData\Local\Temp\pip-install-m1k3v484\pygetwindow\ 这个错误是安装pyautogui 阅读全文
posted @ 2019-04-16 17:25 大大怪上士 阅读(834) 评论(0) 推荐(0)
摘要: import os import time import random while True: x = random.randint(140, 1800) y = random.randint(100, 1000) adb1 = 'adb shell input tap ' + str(x) + ' ' + str(y) os.system(adb1) ... 阅读全文
posted @ 2018-11-13 15:48 大大怪上士 阅读(184) 评论(0) 推荐(0)
摘要: # coding=utf-8 import json import re import requests def get_one_page(url): headers = { 'user-agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Ch... 阅读全文
posted @ 2018-11-05 18:13 大大怪上士 阅读(205) 评论(0) 推荐(0)
摘要: 路径 - > / usr / bin / pip 转到该位置(/ usr / bin / pip)并打开终端 输入: $ sudo nano pip 你可以看到: 改成: 然后按ctrl + o写入更改并退出 阅读全文
posted @ 2018-10-31 22:04 大大怪上士 阅读(811) 评论(0) 推荐(0)
摘要: pip3 install requests selenium beautifulsoup4 pyquery pymysql pymongo redis flask django jupyter 清理系统垃圾 sudo apt-get cleansudo apt-get autocleansudo a 阅读全文
posted @ 2018-10-31 21:50 大大怪上士 阅读(294) 评论(0) 推荐(0)
摘要: 1、sudo apt-get update 2、sudo apt-get install python3-pip OK 阅读全文
posted @ 2018-10-31 21:00 大大怪上士 阅读(18870) 评论(0) 推荐(2)
摘要: 1、下载python。网址https://www.python.org/ 2、利用xftp将Python-3.6.5.tgz文件上传到Ubuntu 3、释放文件 tar xfz Python-3.6.1.tgz 4、进入释放的文件夹 cd Python-3.6.1/ 5、添加配置 ./configu 阅读全文
posted @ 2018-10-31 14:58 大大怪上士 阅读(708) 评论(0) 推荐(0)
摘要: 1 # coding=utf-8 2 import json 3 import re 4 import requests 5 6 def get_data(url): 7 response = requests.get(url) 8 response.encoding = 'utf-8' 9 if response.status_code == 200... 阅读全文
posted @ 2018-10-30 14:49 大大怪上士 阅读(341) 评论(0) 推荐(0)