os.path.exists(name):判断是否存在文件或目录name. os.path.getsize(name):获得文件大小,如果name是目录返回0. os.path.abspath(name):获得绝对路径.
確定! 回上一頁