![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
Sweet_Buns
这个作者很懒,什么都没留下…
展开
-
windows下pip安装python模块时报错总结
C:\Users\ljf>pip install xlwtException:Traceback (most recent call last): File "c:\program files\python35\lib\site-packages\pip\basecommand.py", line 211, in main status = self.run(options, a转载 2017-04-10 08:47:27 · 1477 阅读 · 0 评论 -
Python使用UUID库生成唯一ID
UUID是128位的全局唯一标识符,通常由32字节的字符串表示。它可以保证时间和空间的唯一性,也称为GUID,全称为:UUID —— Universally Unique IDentifier,Python 中叫 UUID。它通过MAC地址、时间戳、命名空间、随机数、伪随机数来保证生成ID的唯一性。UUID主要有五个算法,也就是五种方法来实现。 uuid1()——基于时间戳。由MAC地址、转载 2017-04-20 16:36:59 · 503 阅读 · 0 评论 -
Tornado 自带Testing单元测试模块
# -*- coding: utf-8 -*-# _test1_.pyimport urllibimport timeimport tornadoimport base64from tornado.httpclient import AsyncHTTPClientfrom tornado.testing import AsyncTestCaseimport pbiisi.ms原创 2017-05-26 11:34:18 · 2076 阅读 · 0 评论