摘要: import requests import json import time from requests.adapters import HTTPAdapter referer_url = "https://www.cls.cn/telegraph" cookie = "" headers = { 阅读全文
posted @ 2026-01-18 22:50 乘风王先生 阅读(23) 评论(0) 推荐(0)
摘要: -- coding: utf-8 -- """ A股电报新闻24小时实时监控系统 - 专业图形化界面 监控财联社电报新闻,实时获取重要资讯 """ import requests import hashlib import time import threading import queue imp 阅读全文
posted @ 2026-01-18 22:39 乘风王先生 阅读(17) 评论(0) 推荐(0)
摘要: 一晃,10年过去了 阅读全文
posted @ 2026-01-18 22:37 乘风王先生 阅读(5) 评论(0) 推荐(0)
摘要: 1、安装、配置sshd。(如果没有) 2、启动sshd。service sshd start 3、防火墙开启22端口,ssh默认端口。 阅读全文
posted @ 2019-02-25 02:29 乘风王先生 阅读(396) 评论(0) 推荐(0)
摘要: from multiprocessing import Process,Queue,Pipeimport osdef test(q,child_conn): print("sub q id:%s in the 线程号 %s"% (id(q),os.getpid())) q.put([ "hello" 阅读全文
posted @ 2019-02-21 20:42 乘风王先生 阅读(115) 评论(0) 推荐(0)
摘要: # project:pybuilder # author:slx# datetime:2019/2/20 3:19# software: PyCharmimport threadingimport timeevent =threading.Event()class Boss(threading.Th 阅读全文
posted @ 2019-02-20 03:33 乘风王先生 阅读(129) 评论(0) 推荐(0)
摘要: import threadingimport time lock =threading.RLock()class Mythread(threading.Thread): def __init__(self,name): super(Mythread,self).__init__() self.nam 阅读全文
posted @ 2019-02-20 00:53 乘风王先生 阅读(448) 评论(0) 推荐(0)
摘要: import threadingimport timelockA = threading.Lock()lockB = threading.Lock()class Mythread(threading.Thread): def __init__(self,name): super(Mythread,s 阅读全文
posted @ 2019-02-19 23:34 乘风王先生 阅读(163) 评论(0) 推荐(0)
摘要: 问题的原因在于对应的python版本 解决方法如下: 1、重建python项目文件夹 2、重新安装BeautifulSoup4,bs4 3、成功 阅读全文
posted @ 2018-07-26 16:15 乘风王先生 阅读(2820) 评论(0) 推荐(0)
摘要: 很久没来了,心还在这 阅读全文
posted @ 2016-09-10 17:32 乘风王先生 阅读(89) 评论(0) 推荐(0)