replacing #define with static const with python
<p>I am a python newbie and would like help with the following task:</p>

<p>Given a h/cpp file i would like to replace each #define line with static const.
Of course the type of the variable should be correct (lets say only int or string).</p>

<p>How can i do that?</p>
