title: Conditional compilation in python
body: <p>Hi I am trying to implement conditional compilation in python similar to <a href="http://ideone.com/ttndK" rel="nofollow noreferrer">this in C</a>,I have seen <a href="https://stackoverflow.com/questions/560040/conditional-compilation-in-python">this thread</a> and <a href="https://stackoverflow.com/questions/3496592/conditional-import-of-modules-in-python">this thread</a>.</p>
  
  <p>But <a href="http://ideone.com/u7BO8" rel="nofollow noreferrer">this</a> is not working. I am relatively new to python,how can we fix this ?</p>