save file using folder name using python for loop os.walk

后端 未结 0 1562
梦谈多话
梦谈多话 2021-01-02 07:27

I want to save each pdf I produce in a for loop using the name of the folder from which the .json file used to produce the pdf is stored in. For instance, I want rdm_1 to be

相关标签:
回答
  • 消灭零回复
提交回复
热议问题