You can compile your python application with py2exe or exefreeze, it includes all your modules in a zip. I did this with NeptuneX.
Dumbest thing I've done while coding is storing user sessions in cookies. (they could easily change the cookie data with inspect element and fuck up shit)