会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
大大怪上士
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
2019年4月16日
pip安装pyautogui报错
摘要: 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)
2018年11月13日
app随机点击
摘要: 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)
2018年11月5日
猫眼top100
摘要: # 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)
2018年10月31日
Ubuntu使用pip提示ImportError: cannot import name 'main'
摘要: 路径 - > / usr / bin / pip 转到该位置(/ usr / bin / pip)并打开终端 输入: $ sudo nano pip 你可以看到: 改成: 然后按ctrl + o写入更改并退出
阅读全文
posted @ 2018-10-31 22:04 大大怪上士
阅读(811)
评论(0)
推荐(0)
Ubuntu爬虫常用库安装命令
摘要: 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)
Ubuntu安装pip提示Unable to locate package python3-pip3
摘要: 1、sudo apt-get update 2、sudo apt-get install python3-pip OK
阅读全文
posted @ 2018-10-31 21:00 大大怪上士
阅读(18870)
评论(0)
推荐(2)
Ubuntu16.04 安装Python3.6
摘要: 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)
2018年10月30日
requests爬取中国天气网深圳七日天气
摘要: 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)
上一页
1
2
3
公告