I need to create folders and subfolders based on the file name by writing a python script. for example: my file name is 00020102.type I want to create something like
+---0
| \---0
| \---0
\---2
\---0
\---1
\--- 0
\---2
\---00020102.type