![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
腾飞之心
为我而变
展开
-
Python与shell引号引起的问题
1.问题:File “test.py”, line 6os.system(‘adb devices|awk “{if(found) print} /List of devices attached/{found=1}”|awk ‘{gsub(“device”, “”);print}’’)^SyntaxError: invalid syntax2.解决方法:shell中单引号与pytho...原创 2019-11-17 16:26:38 · 1074 阅读 · 0 评论 -
Python上引用shell命令出现报错(1)
Python上引用shell命令导致错(1)原创 2019-06-23 12:55:56 · 904 阅读 · 0 评论