文章分类 -  python

爬技巧
摘要: 阅读全文
posted @ 2022-03-25 15:35 yellwonfin 阅读(16) 评论(0) 推荐(0)
杂项
摘要:python 判断变量是否存在 s=123print(s)#del sif('s' in vars()): print(s)else: print('sdf') 阅读全文
posted @ 2022-03-24 22:24 yellwonfin 阅读(31) 评论(0) 推荐(0)
主线程,循环监听 键盘输入(仅能用于linux下,windows下不支持)
摘要:第一版 import sysimport selectfrom time import sleepimport termiosimport tty old_settings = termios.tcgetattr(sys.stdin)tty.setcbreak(sys.stdin.fileno()) 阅读全文
posted @ 2020-03-26 22:45 yellwonfin 阅读(397) 评论(0) 推荐(0)
python发送字节数据
摘要:python发送字节数据 1 # Control Program 2 # 3 # 4 5 6 # socket : 7 import socket 8 import struct 9 # socket: 10 s = socket.socket(socket.AF_INET, socket.SOCK 阅读全文
posted @ 2020-03-06 02:09 yellwonfin 阅读(1209) 评论(0) 推荐(0)
redis 监听消息
摘要:python中的 redis keyspace 通知 介绍 Redis是内存中的数据结构存储,用于缓存、高速数据摄取、处理消息队列、分布式锁定等等。 与其他内存存储相比,使用Redis的优势在于它提供了持久性和数据结构,比如列表、集合、排序集合和散列。 在这篇文章中,介绍一个Redis keyspa 阅读全文
posted @ 2019-03-05 12:39 yellwonfin 阅读(10524) 评论(1) 推荐(0)
关于面向对象中,super的理解
摘要:# 在面向对象中,关于super的理解?# class Foo(object):# def func(self):# print('foo.func')# super(Too,self).func()### class Joo():# def func(self):# print("Joo.func 阅读全文
posted @ 2019-02-26 09:44 yellwonfin 阅读(225) 评论(0) 推荐(0)
IPython使用学习笔记
摘要:<!--end: blogStats --> <!--end: navigator 博客导航栏 --> <!--end: header 头部 --> <!--done--> IPython使用学习笔记 学习《利用python进行数据分析》第三章 IPython:一种交互式计算和开发环境的笔记,共享给 阅读全文
posted @ 2019-01-17 16:27 yellwonfin 阅读(173) 评论(0) 推荐(0)
内网虚拟机通过宿主机***上网
摘要:背景 有访问google或者其他海外网站需求的同学可能大都用过或者听过ss,在Windows、Mac、Android、IOS都有现成可用的客户端来协助实现****。但是Linux下的上网需求应该如何解决呢?网上搜罗一番,有不少解决方案,这里选取ss-server+sslocal+polipo(pro 阅读全文
posted @ 2019-01-16 17:54 yellwonfin 阅读(2) 评论(0) 推荐(0)
ES6补充
摘要:import 时候的路径问题(新手容易碰到) 开始玩的时候,总是出现 cannot find module 问题,原来 在 import 的时候 如果不使用相对路径或者绝对路径,node默认会去node_modules/文件夹下去找,例如: 关于 import * as obj from 'xx' 阅读全文
posted @ 2019-01-14 15:26 yellwonfin 阅读(112) 评论(0) 推荐(0)
python全栈开发之路2
摘要:<!--end: blogStats --> <!--end: navigator 博客导航栏 --> <!--end: header 头部 --> <!--done--> python全栈之路 <!--end: blogStats --> <!--end: navigator 博客导航栏 --> 阅读全文
posted @ 2019-01-10 17:54 yellwonfin 阅读(161) 评论(0) 推荐(0)
csdn排名前十博客
摘要:截止到1018年10月28日,CSDN前十的大神: 排名第10:https://blog.csdn.net/hejishan 排名第9:https://blog.csdn.net/21aspnet 排名第7:https://blog.csdn.net/dyllove98 排名第6:https://b 阅读全文
posted @ 2019-01-10 11:43 yellwonfin 阅读(383) 评论(0) 推荐(0)
重点博客收藏
摘要:https://cizixs.com/ 容器,微服务, go, python知识介绍 https://www.yuque.com/chery 在线文档协作 阿里巴巴内部在使用 https://www.cnblogs.com/kaituorensheng/p/3980334.html http://w 阅读全文
posted @ 2019-01-09 19:09 yellwonfin 阅读(96) 评论(0) 推荐(0)
延瓒博客
摘要:https://blog.csdn.net/qq_39591494/ 阅读全文
posted @ 2019-01-08 21:16 yellwonfin 阅读(79) 评论(0) 推荐(0)
学习博客地址1
摘要:https://www.cwiki.us/ http://www.bootcdn.cn/bootstrap/ bootstrap cdn在线地址 http://www.cnblogs.com/vamei/archive/2012/09/13/2682778.html http://www.xulia 阅读全文
posted @ 2019-01-08 20:43 yellwonfin 阅读(220) 评论(0) 推荐(0)
Python垃圾回收机制1
摘要:<!--end: blogStats --> <!--end: navigator 博客导航栏 --> <!--end: header 头部 --> <!--done--> Python垃圾回收机制详解 一.垃圾回收机制 Python中的垃圾回收是以引用计数为主,分代收集为辅。引用计数的缺陷是循环引 阅读全文
posted @ 2019-01-07 09:45 yellwonfin 阅读(90) 评论(0) 推荐(0)
https://www.cnblogs.com/haiyan123/p/8387770.html
摘要:海燕的 阅读全文
posted @ 2018-12-12 15:48 yellwonfin 阅读(238) 评论(0) 推荐(0)
b站资源
摘要:老男孩(官方出品)Python视频资源总址 目录 银角大王Python面向对象讲解视频(latest) 银角大王带你玩转Flask框架(latest) <!--?xml version="1.0" encoding="utf-8"?--> <!-- Generator: Adobe Illustra 阅读全文
posted @ 2018-12-10 21:42 yellwonfin 阅读(301) 评论(0) 推荐(0)
Python垃圾回收机制
摘要:<!--end: blogStats --> <!--end: navigator 博客导航栏 --> <!--end: header 头部 --> <!--done--> Python垃圾回收机制 知识点的铺垫 对象和引用 python作为一门动态语言,一个简单的赋值语句也是很值得研究的,重要特点 阅读全文
posted @ 2018-12-07 12:07 yellwonfin 阅读(92) 评论(0) 推荐(0)
李文周老师之复习清单
摘要:https://www.cnblogs.com/liwenzhou/p/9959979.html 阅读全文
posted @ 2018-11-14 21:20 yellwonfin 阅读(180) 评论(0) 推荐(0)
pymysql操作数据库优化
摘要:<!--end: blogStats --> <!--end: navigator 博客导航栏 --> <!--end: header 头部 --> <!--done--> pymysql操作数据库优化 我们之前使用pymysql操作数据库的操作都是写死在视图函数中的,并且很多都是重复的代码。 我们 阅读全文
posted @ 2018-11-02 09:34 yellwonfin 阅读(921) 评论(0) 推荐(0)