python recursive directory reading
<p>I wish to avoid os.walk, i am using a recursive function to read files and folders and store files to a dictionary</p>

<p>I got rid of the os.chdir but for some reason function is now joining path + file as well and its generating an error :
WindowsError: [Error 267] The directory name is invalid: 'c:\data\foo\notes\*.*'
Its reading folder foo and it joined path whit foo and file notes.txt instad of foo + libary folder</p>
