![](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 · 532 阅读 · 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 · 1244 阅读 · 0 评论 -
Linux 下 Python 脚本开头写法
#!/usr/bin/env python原创 2019-12-26 11:08:41 · 1449 阅读 · 0 评论