
python
曾忆少年时~峥嵘岁月稠
小草没有花香,没有树高,照样能顶动石头
展开
-
python实现web
import socketfrom multiprocessing import Processdef handle_client(client_socket):“”"处理客户端请求“”"request_data = client_socket.recv(1024)print(“request data:”, request_data)# 构造响应数据response_start_line = “HTTP/1.1 200 OK\r\n”response_headers = “Server原创 2022-03-01 18:52:02 · 634 阅读 · 0 评论 -
centos安装qt软件
下载gun工具源码,解压./configure -prefix=/usr/local/gdb --with-python=python3makemake install原创 2021-10-13 16:23:47 · 247 阅读 · 0 评论 -
python中pandas模块应用
添加链接描述python中pandas模块 DataFrame函数应用。原创 2019-12-02 21:20:37 · 212 阅读 · 0 评论 -
python 中calendar模块应用
python中calendar模块的常用方法import calendarcalendar.isleap(2000) #判断是否是闰年Truecalendar.isleap(2100)Falsecalendar.month(2100,12) #查看2100年12的日历’ December 2100\nMo Tu We Th Fr Sa Su\n 1 2 ...原创 2019-12-02 21:06:35 · 366 阅读 · 0 评论 -
python 使用openpyxl模块时报错zipfile.BadZipFile: File is not a zip file
在python中,使用openpyxl模块的时候,load_workbook()函数不能用,pycharm报错zipfile.BadZipFile: File is not a zip file,解决办法:将使用python创建的execl文件删除,用offer创建一个新的execl文件。欢迎使用Markdown编辑器你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想...原创 2019-05-06 11:35:46 · 9626 阅读 · 0 评论 -
pycharm中安装ctypes模块
在pycharm中安装ctypes模块的时候出现:ERROR: Could not find a version that satisfies the requirement ctypes (from versions: none)ERROR: No matching distribution found for ctypes的错误。。。。。。。。。。回答:ctypes is modul...原创 2019-06-03 17:32:20 · 8175 阅读 · 0 评论 -
python编程随笔
在python编程的时候如果你想用win32api,win32process,win32event等模块里的东西的时候不妨先在pycharm中安装pywin32模块。原创 2019-06-03 17:56:00 · 180 阅读 · 0 评论