Python 串口加GUI编程【预告】

本周项目,冯总给介绍了一个活,需要用到串口和GUI,这两个方面我从未尝试过,准备折腾一把。

主要用 tkinterserial 两个模块

2018/7/13 posted in  python

用python分析了20万场吃鸡数据

Read more   2018/7/8 posted in  python

MySQL中文乱码

在连接时加上utf-8即可解决

Read more   2017/7/30 posted in  python

python xml操作

Read more   2017/7/30 posted in  python

python ip操作

Read more   2017/7/30 posted in  python

python 在__init__中批量设置类属性

常见的写法:

def __init__(self, x, y, z):
    ...
    self.x = x
    self.y = y
    self.z = z
    ...

可以简写成如下:

class A:
    def __init__(self, **kwargs):
        for key in kwargs:
            setattr(self, key, kwargs[key])
2017/7/30 posted in  python

python 项目开发技巧 - 配置与代码分离

Read more   2017/7/30 posted in  python

django 通过thread实现异步任务

Read more   2017/7/30 posted in  python

python-发送邮件

Read more   2017/7/30 posted in  python

python使用MySQLdb时报'MySQL server has gone away'

Read more   2017/7/30 posted in  python

django 表单开启csrf验证

Read more   2017/7/30 posted in  python

django template循环显示内容

Read more   2017/7/30 posted in  python