11/28/2021

python, simple mkdir and remove folder

import os
#remove folder
os.system('rm -rf ./folder1/folder2/')
#make folder
os.system('mkdir -pv ./folder1/folder2/')

 

Thank you.

www.marearts.com

๐Ÿ™‡๐Ÿป‍♂️

No comments:

Post a Comment