![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
cwq水域
这个作者很懒,什么都没留下…
展开
-
python ms 时间转换
import datetimeimport time#time stamptt = time.time()print(tt)#time stamp 2 datestrdt = datetime.datetime.fromtimestamp(tt, None).strftime("%Y-%m-%d %H:%M:%S.%f")print(dt)# datestr 2 time...原创 2020-01-07 10:20:58 · 1117 阅读 · 0 评论 -
python调用c/c++
以下的例子摘自《python核心编程》目的:windows 下 Python调用c 语言的函数 Function 1:int fac(int n); Function 2: char * reverse(char *s); Function 3: int test();Step one:创建Extest.c/*******************************************原创 2016-06-16 00:09:38 · 490 阅读 · 0 评论