I want to create path of files from list.
pathList = [['~/workspace'], ['test'], ['*'], ['*A', '*2'], ['*Z?', '*1??'], ['*'], ['*'], ['*'], ['*.*']]
and I want
[['', '~/workspace', 'test', '*', '*A', '*Z?', '*', '*', '*', '*.*']]
[['', '~/workspace', 'test', '*', '*A', '*1??', '*', '*', '*', '*.*']]
[['', '~/workspace', 'test', '*', '*2', '*Z?', '*', '*', '*', '*.*']]
[['', '~/workspace', 'test', '*', '*2', '*1??', '*', '*', '*', '*.*']]
I try to create it from for loop but I get
[['', '~/workspace', 'test', '*', '*A', '*Z?', '*', '*', '*', '*.*', '*1??', '*', '*', '*', '*.*', '*2', '*Z?', '*', '*', '*', '*.*', '*1??', '*', '*', '*', '*.*']]
How can I do? Please help me.
Thank you.