自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(20)
  • 资源 (1)
  • 收藏
  • 关注

原创 Linux基础命令

【查看主命令-ls】ls+路径 : 查看对应路径下是所有文件(不包含隐藏文件)ls -l :以列表的形式显示ls -la : 将文件夹下隐藏文件也展示出来ls -lh : 查看文件夹下可读性较高的文件【路径命令-/】/ 附属命令./ / :都代表当前目目录 ../ :相对当前目录的上一级目录pwd 主命令pwd :查...

2019-05-16 10:01:25 106

转载 python37 安装 Twisted报错为is not a supported wheel on this platform 的解决方法

安装Twisted时报错解决报错为is not a supported wheel on this platform解决方法下载对应配置文件,如:Twisted‑18.7.0‑cp36‑cp36m‑win_amd64.whl(其中cp后面代表python版本,win_amd64代表64位)2.在python中运行import pipprint(pip.pep425tags....

2019-03-05 10:32:25 1325

原创 oppo社区,学习笔记(一)

import urllib.requestimport urllib.parseimport reimport sslssl._create_default_https_context = ssl._create_unverified_contextclass Http: def get(self, url): html = urllib.request.ur

2018-02-01 18:18:12 329

原创 oppo社区,学习笔记(二)

from New_MyPython.Community_MyThread.Requse import HttpReqimport urllib.parseclass GetAllTid: ''' 获取单个用户的所有tid ''' def __init__(self, user): self.HttpRequest = HttpReq

2018-02-01 18:16:43 409

原创 oppo社区,学习笔记(三)

from New_MyPython.Community_MyThread.Requse import HttpReqclass Topic: def __init__(self): self.request = HttpReq.Http() ''' 目的:获取某个已存在话题下的所有tid 返

2018-02-01 18:13:56 406

原创 xlsxwriter创建Excel表格,并插入数据(二)

批量写入数据import urllib.requestimport reimport sslimport threadingimport time as tfrom New_MyPython.Xlsx import CreateExcelssl._create_default_https_context = ssl._create_unverified_context

2018-01-31 11:05:01 1023

原创 xlsxwriter创建Excel表格,并插入数据(一)

创建文件名:CreateExcel插入列数据必须是str,多个为list[list] [[]]插入行数据格式必须是单个str,多个为list[list]  [[]] # -*- coding=utf8 -*-import xlsxwriterimport timeimport osclass Create: ''' Create Excel...

2018-01-31 10:59:12 3390

原创 学习笔记(二) 根据发帖时间,删除相关帖子

import refrom New_MyPython.Community_MyThread.Requse.HttpReq import Httpimport timeimport threading''' 思路 一、将帖子tid取出 二、根据tid,获取当前帖子时间 三、将时间转换为时间戳,用来做时间隔断 四、将通过时间戳分割出来的帖子删除,并返回tid时

2018-01-29 13:52:04 259

原创 学习笔记(一) 根据发帖时间,删除相关帖子

import urllib.requestimport urllib.parseclass Http: def get(self, url): html = urllib.request.urlopen(url).read().decode('utf-8') return html def post(self, url, data, c

2018-01-29 13:49:35 174

原创 python3 多线程

import threadingclass myThread(threading.Thread):def __init__(self,a,c,d,): super().__init__(self) self.a=a self.c=c self.d=d self.Lock=threading.Lock()def run(self): print('...

2018-01-10 08:21:22 234

原创 python生成pb.py的方式

http://blog.csdn.net/swiftshow/article/details/8632755pb2.py文件的生成方式protoc-2.6.1-win32.zip下载地址:(注:使用版本与服务端人员使用大版本一致即可)https://github-production-release-asset-2e65be.s3.amazonaws.com/23357588/1464

2017-12-13 14:39:12 3028

原创 百度任意类型图片爬虫

import urllib.request,os,re,urllib.parseimport sslfrom easygui import *ssl._create_default_https_context = ssl._create_unverified_contextdef url_open(url):#打开url req=urllib.request.Request(url

2017-11-28 15:48:50 307

原创 使用selenium+PhantomJS 解决Ajax登录页面重定向问题

本文原创,仅限个人学习使用,如有侵权,请联系作者删除!

2017-11-22 23:23:20 2073

转载 Appium+python封装四个滑动屏幕的方法【转载】

转载来源【http://blog.csdn.net/niedongri/article/details/76096337】

2017-11-14 09:48:14 960

原创 IP及端口号的获取及保存【实用】

本内容仅供个人学习使用,切勿商业使用。如有侵权,请联系作者

2017-11-03 10:45:38 563

转载 python3中的urlopen对于中文url是如何处理的?

文章于知呼转载,非商业,仅限个人学习所有

2017-10-20 15:17:01 705

原创 python http.Cookie_jar

学习笔记

2017-09-25 13:46:13 418

原创 记录初学urllib库

import urllib.requestimport urllib.parseimport sslssl._create_default_https_context = ssl._create_unverified_contextdef pl(sun): url='#####################' data={'content':sun,'tid':'3005

2017-09-20 17:04:05 243

原创 从开始学习到遇到问题及解决方法的记录

http://www.runoob.com/python3/python3-tutorial.html python3基础教程http://cuiqingcai.com/1319.html BeautifulSoup使用教程(爬虫...

2017-09-14 14:16:25 570 2

原创 我写的第一个图片爬虫

第一次写博客,主要是记录自己学习的过程

2017-08-24 09:25:18 298 1

桌面右下角执行的时间戳和翻译小工具

调用百度翻译的接口,实现快速翻译,无任何插件广告,外加时间戳转换工具,可快速将时间戳转换为时间格式,也可以将时间格式转换为时间戳

2020-12-11

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除