![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
YuZhuQue
这个作者很懒,什么都没留下…
展开
-
AttributeError: 'dict' object has no attribute 'iteritems'
Python3.5中:iteritems变为items 这就导致了android 源码编译不过 环境 androidN 文件 build/tools/post_process_props.py #!/usr/bin/env python ........... buildprops = prop.to_dict() for key, value in buildprops.iteritems(): 就会在这里报错 由于usr/bin/env python 指向的是 /usr/bin/python 而原创 2020-05-12 17:20:50 · 533 阅读 · 0 评论 -
Python 实现刷新目录下各级文件的时间戳
#!/usr/bin/env python # -*- coding:utf-8 -*- # # update the file's time using the shell cmd 'touch' # # e.g. # 1. touchdir # this will touch current file path # 2. touchdir [path] # this will t...原创 2019-12-26 11:09:57 · 1252 阅读 · 0 评论 -
Linux 下 Python 脚本开头写法
#!/usr/bin/env python原创 2019-12-26 11:08:41 · 1454 阅读 · 0 评论