Move child folder contents to parent folder in python

后端 未结 4 896
走了就别回头了
走了就别回头了 2021-01-05 06:27

I have a specific problem in python. Below is my folder structure.

dstfolder/slave1/slave

I want the contents of \'slave\' folder to

4条回答
  •  我在风中等你
    2021-01-05 06:50

    Maybe you could get into the dictionary slave, and then

    exec system('mv .........')
    

    It will work won't it?

提交回复
热议问题