translating a ruby script to python
<p>my problem is the following</p>

<p>i have a ruby script looking like this</p>

<pre><code>module parent

    module son_1
        ... some code here
    end

    module son_2
        ... some code here
    end

    class one
        ... some code here
    end

    class two
        ... some code here
    end

end
</code></pre>

<p>and i need this script to be translated to python but
i am little confused ?</p>

<p>first i made this :</p>

<ul>
<li><p>i turned the "module parent" into a python package</p></li>
<li><p>i made "module son_1" and "module son_2" like two files inside the package</p></li>
<li><p>and finally i defined the last two classed in the <code>__init__</code> file of this package ( "module parent" )</p></li>
</ul>

<p>my questions are :</p>

<ul>
<li><p>is this solution correct ?</p></li>
<li><p>and if it is , is there a better one ?</p></li>
</ul>
