带open()的循环标准输入

2024-09-27 21:35:16 发布

您现在位置:Python中文网/ 问答频道 /正文

我测试了两个文件filenameC和filenameA的以下代码,效果很好:

with  open(locationA + filenameC,'r') as fileC, open(locationA + filenameA,'r') as fileA:

现在我想在AWS上使用这个代码,其中filenameC和filenameA有多个文件。 我在考虑用系统标准但是我是Python的初学者,我不知道如何使用它。 你知道吗? 谢谢


Tags: 文件代码aws标准系统aswithopen

热门问题