How to dynamically create dictionaries whose name are taken from the contents of a directory in python?
<p>I have a directories with filenames. I want for each of the files to create a dictionary.I do this:</p>

<pre><code>files=glob.glob(*)
for f in files:
    f={}
</code></pre>

<p>but i don't get the result that i want. I.e: in my directory i have aaa bbb ccc. After the execution of my program i want to have 3 dictionaries. The first aaa={} t second one bbb={} and the 3rd one ccc={}.</p>
