separate files based on datetime in python
<p>I have number of files in a folder. Each file contains a datetime stamp.</p>

<p>Example:
The file format is:</p>

<pre><code>315251973836374016  Tried not to fall into the trap but the show scandal is amazing!    170061457   VonnaDiane  20130323    scandal NULL    NULL    NULL
</code></pre>

<p>I have to group the files based on this time stamp. i.e., in another folder i have to create files in the name of datetime 20130323, etc., and store  the values corresponding to the datetime</p>

<p>Note: The source file contain mixed datetime i.e., 20130323,20130324 etc., </p>

<p>Hope i am clear.</p>
