![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
文章平均质量分 81
Harbor9999
这个作者很懒,什么都没留下…
展开
-
收藏笔记Python tkinter 计算器
学习转载 2016-10-01 16:48:10 · 555 阅读 · 0 评论 -
0013解析
test_log_path = r"F:\data\can0013.csv"def write_testlog(d): testlog = open(test_log_path, 'a+') testlog.write(d) testlog.close()def main(): #t4 =time.strftime("%Y-%m-%d %H:%M:%S")原创 2016-10-01 16:44:17 · 540 阅读 · 0 评论 -
学习python(7)冒泡与递归
练习下经典冒泡:原创 2014-04-25 16:57:04 · 852 阅读 · 0 评论 -
学习python(4) 练习词典功能 查询增加删除更新
#-*-coding:utf-8 -*-"""dtc查询单词功能增加单词功能删除单词功能更新单词功能文件内容如下:P0009 Engine Position System Performance Bank 2 P000A A Camshaft Position Slow Response Bank 1 P000B B Camshaft Position原创 2014-04-24 17:38:54 · 1569 阅读 · 0 评论 -
学习python(6)数据交换的几点方法总结
一下是几种数据交换的方法:原创 2014-04-25 16:31:31 · 956 阅读 · 0 评论 -
学习Python (5)生成随机密码
#coding=utf-8#随机密码import random,stringdef getPsd(len): """ #获取含有数字、字母、特殊字符的组合 '''0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;?@[\\]^_`{|}~ \t\n\r\x0b\原创 2014-04-25 10:05:36 · 2511 阅读 · 0 评论 -
学习Python(2)
看视频,练习下下载博客原创 2014-04-09 20:55:37 · 671 阅读 · 0 评论 -
学习Python(1)
观看网上视频例子,自己原创 2014-04-07 12:00:23 · 740 阅读 · 0 评论 -
学习python(3)socket
服务端: # _*_ coding:utf-8 _*_#创建TCP服务器程序,把客户端发过来的字符串加上时间戳 格式:【时间】数据from socket import *from time import ctimeHOST = '' #为空,表示可以绑定所有有效的地址PORT = 21567 # 随机生成未被占用的端口号BUFSIZ = 1024 # 设定缓冲原创 2014-04-21 15:58:43 · 760 阅读 · 0 评论 -
串口小工具KKCOM-Python
main UI :# encoding: UTF-8'''Created on 2017-03-06@author: Harbor'''import wxfrom serial import Serialfrom wx.lib.pubsub import pubimport MySerialThreadclass MainUI(wx.Frame)原创 2017-03-09 12:59:46 · 5599 阅读 · 0 评论