title: Python Password Protection
body: <p>I am a beginner so if this question sounds stupid, please bear with me. </p>
  
  <p>I am wondering that when we write code for username/password check in python, if it is not compiled to exe <code>ie script state</code>, won't people will easily open the file and remove the code potion that is doing the password check?</p>
  
  <p>I am assuming that the whole program is entirely written in <code>python</code>, no <code>C</code> or <code>C++</code>.</p>
  
  <p>Even if I use a program like <code>py2exe</code> it can be easily decompiled back to source code. So, does that mean it is useless to do a password check?</p>
  
  <p>How do professional programmers cope with that? </p>