Write metadata to mp3 file in python without using external module
<p>Currently am trying to <code>read and write</code> mp3 tags <strong>without</strong> using any external modules like(eyed3).</p>

<p>I have successfully read the audio tags of a mp3 file using the following code:</p>

<pre><code>f = open(filepath,"rb")
f.seek(-128,2)
TagContent = f.read(128)
f.close()

title = TagContent[3:33] # currently only id3v1 tags
</code></pre>

<p>Now I want to edit the audio tags like <code>artistname,title,album</code> etc of a mp3 file. Now the problem am facing is how to write data to a mp3 file that too at a specific position.</p>

<pre><code>f = open(filepath,"wb")
f.write(**what should come here**) 
</code></pre>

<p>Is this possible using only python or I have to use an <code>external module</code> to write content to a mp3 file.</p>

<p>In the above statement <code>external module</code> refers to modules like <code>pymedia</code> or <code>GST-Python</code>(<em>I don't even know whether these are the right modules for this task</em>) not audio tagging modules like eyed3.</p>

<p>PS: This is just part of a learning process.</p>
