python小功能
tan of the wind
这个作者很懒,什么都没留下…
展开
-
python字符串大小写组合排序
python字符串大小写组合def change(words):tempword = wordsfor i in range(2**len(words)):int_bin = str(bin(i)).replace(“0b”,"")for i in range(len(words)-len原创 2018-09-29 11:15:01 · 2427 阅读 · 0 评论 -
python执行adb shell内部命令
import subprocess#最基本的启动进程方式类似cmd下执行: notepad.exe text.txt 命令obj = subprocess.Popen(['notepad.exe','text.txt'], shell = True, stdin=subprocess.PIPE, stdout=subprocess.PIPE ,stderr=subprocess.PIPE)...原创 2018-11-12 10:07:07 · 7938 阅读 · 1 评论 -
python之subprocess.Popen常用案例
import subprocess#最基本的启动进程方式类似cmd下执行: notepad.exe text.txt 命令obj = subprocess.Popen(['notepad.exe','text.txt'], shell = True, stdin=subprocess.PIPE, stdout=subprocess.PIPE ,stderr=subprocess.PIPE)...原创 2018-11-12 10:16:24 · 8667 阅读 · 3 评论