![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
linest00
这个作者很懒,什么都没留下…
展开
-
python 细碎内容
http://www.coder4.com/archives/2239 [code="python"] #设a为字符串 import time a = "2011-09-28 10:00:00" #中间过程,一般都需要将字符串转化为时间数组 time.strptime(a,'%Y-%m-%d %H:%M:%S') >>time.struct_time(tm_year=2011, ...原创 2012-03-11 10:27:39 · 200 阅读 · 0 评论 -
python weibo sdk
[code="python"] class _Callable(object): def __init__(self, client, name): self._client = client self._name = name def __getattr__(self, attr): if attr=='get'...原创 2013-03-28 14:22:15 · 121 阅读 · 0 评论