python
文章平均质量分 56
wangz76
这个作者很懒,什么都没留下…
展开
-
安装eric6报错,程序中断处理办法。
C:\Users\wang_>pip listPackage Version---------------- ------------click 7.1.2pip 21.0.1PyQt5 5.15.2pyqt5-plugins 5.15.2.2.1.0PyQt5-Qt5 5.15.2PyQt5-sip 12.8.1pyqt5-tools 5.15.2.3...原创 2021-04-15 16:16:29 · 230 阅读 · 0 评论 -
pandas 读写 xls、xlsx
import pandas as pdimport pandas as pdwdfw=pdw.DataFrame({"时间":["时间"],"地点":["地点"],"人物":["人物"],"事由":["事由"]})wenjian=open("k.txt") #k.txt文件是“dir *.xls *.xlsx /w &原创 2019-02-07 22:37:41 · 10017 阅读 · 1 评论 -
树莓派dht22(dht11)温度上传阿里云物联网
# -*- coding: utf-8 -*-"""Created on Sun Feb 10 23:45:55 2019@author: wangz"""import paho.mqtt.client as mqttimport timeimport hashlibimport hmacimport randomimport jsonimport Adafruit_DH...原创 2019-03-05 23:10:08 · 2670 阅读 · 1 评论 -
用python写俄罗斯方块
程序为树莓派自带原程序。我只是看懂了,注解一下免得以后搞忘了。# Tetromino (a Tetris clone)# By Al Sweigart al@inventwithpython.com# http://inventwithpython.com/pygame# Released under a "Simplified BSD" license# KRT 17/06/201...原创 2019-10-06 00:01:53 · 897 阅读 · 1 评论