这里写自定义目录标题 python访问手机SD卡目录文件 python访问手机SD卡目录文件 下面方法用于python判断手机中某个文件是否存在 import os path = os.popen('adb shell ls sdcard/test.txt').read().strip() print path if 'No such file or directory' in path: print <