会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
五等码农
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2018年7月24日
小项目2
摘要: 程序写完了,时间比较赶,两天客户端和服务器端都结束了,服务器端自动识别操作,具体是实现一个观察者去监控这个文件夹,进行写数据库,删除数据库操作,如果你们服务器端使用了watchdog 模块,请注意:当你上传的文件不断变大的时候,这个时候是重复写入数据库的,需要加上判断操作,切记 具体的程序,等我有时
阅读全文
posted @ 2018-07-24 14:57 五等码农
阅读(157)
评论(0)
推荐(0)
2018年7月23日
未完待续:上传服务器gui界面
摘要: 背景:同事需要,未进行代码类的编写 ,集成日志功能,获取电脑本地账户,GUI界面,压缩文件夹的功能 from tkinter import *from tkinter.filedialog import askdirectoryimport zipfileimport osfrom datetime
阅读全文
posted @ 2018-07-23 20:48 五等码农
阅读(210)
评论(0)
推荐(0)
2018年7月19日
tkinter gui界面使用调戏妹子
摘要: # _*_ coding: utf-8 _*___author__ = 'pythonwu'__date__ = "2018/7/18 14:43"from tkinter import *from PIL import Image,ImageTkimport tkinter.messageboximport osfrom multiprocessing import Processclass W...
阅读全文
posted @ 2018-07-19 17:23 五等码农
阅读(975)
评论(1)
推荐(0)
2018年7月12日
@property 用法
摘要: import datetimeimport timeclass PK(object): def __init__(self,name,attack=0.0,defence=0.0): self.name = name self.attack = attack self.defence = defen
阅读全文
posted @ 2018-07-12 14:44 五等码农
阅读(141)
评论(0)
推荐(0)
2018年7月6日
@classmehod 用法解析
摘要: classmethod 修饰符对应的函数不需要实例化,不需要 self 参数,但第一个参数需要是表示自身类的 cls 参数,可以来调用类的属性,类的方法,实例化对象等。 输出: year : 2018month : 7day : 6year : 2018month : 0day : 0 这样子使用的
阅读全文
posted @ 2018-07-06 11:21 五等码农
阅读(484)
评论(0)
推荐(0)
2018年7月3日
python psutil 使用和windows 10 设置
摘要: BeginQuery info about Bob...End24 一些小知识:2:双核超线程 ht技术 1个核心虚拟出两个共享资源 ,window 10 里面可以限制核心的
阅读全文
posted @ 2018-07-03 11:58 五等码农
阅读(478)
评论(0)
推荐(0)
2018年7月2日
python 类多重继承问题
摘要: I can show Creturn value of B[<class '__main__.D'>, <class '__main__.B'>, <class '__main__.C'>, <class '__main__.A'>, <class 'object'>]
阅读全文
posted @ 2018-07-02 15:52 五等码农
阅读(192)
评论(0)
推荐(0)
2018年6月22日
python 神经网络单元
摘要:
阅读全文
posted @ 2018-06-22 19:33 五等码农
阅读(79)
评论(0)
推荐(0)
2018年6月20日
多线程同步引入锁
摘要: # _*_ coding: utf-8 _*___author__ = 'pythonwu'__date__ = "2018/6/20 17:42"import threadingimport timeexitFlag = 10class myThread(threading.Thread): def __init__(self,threadID,name,counter): ...
阅读全文
posted @ 2018-06-20 18:04 五等码农
阅读(147)
评论(0)
推荐(0)
2018年6月15日
matplotlib绘制随机行走轨迹图
摘要: # _*_ coding: utf-8 _*___author__ = 'pythonwu'__date__ = "2018/6/15 16:09"from random import choice,randintimport matplotlib.pyplot as pltclass PersonMovement(): def __init__(self,walk_nums = 10): ...
阅读全文
posted @ 2018-06-15 17:13 五等码农
阅读(3339)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告