在Python 2.7中,是否有一种方法可以使用上下文管理器创建临时目录?
with tempfile.TemporaryDirectory() as temp_dir: # 修改此目录中的文件 # 此处临时目录不再存在。
用户名或电子邮箱地址
密码