I have a nested folder structure like:
- Folder1
---->Test1
-------->a
-------->b
-------->c
- Folder2
---->Test2
-------->d
-------->e
-------->f
- Folder3
---->Test3
-------->g
-------->h
-------->i
I want to create a 7zipped file named as Folder1.7z,Folder2.7z,,Folder3.7z...etc which upon extracting folders respectively.How to write python script for this thing to work??
Note:I want to use python only.