How to skip the docstring using regex
<p>I'm trying to insert some import lines into a python source file, but i would ideally like to place them right after the initial docstring. Let's say I load the file into the lines variable like this:</p>

<pre><code>lines = open('filename.py').readlines()
</code></pre>

<p>How to find the line number, where the docstring ends?</p>
