Python secure?

Reid Nichol rnichol_rrc at yahoo.com
Sun Aug 15 16:17:27 EDT 2004


Calvin wrote:
> Hi to both of you,
> 
> For some reason I can't seem to reply to the post, hence my posting this as
> a new topic
> 
> Sorry I should have said I'm new to programming let alone Python. I wish to
> know whether Python is secure as an exe for a commercial product. i.e. can
> someone see your code more easily than in say using another language. We're
> not talking financial / security type software here just a basic windows
> app.
> 
> Thanks
> 
> 

Distribute the compiled objects and not the source.  Use py2exe and get 
a binary to distribute.

But then again if some really wants your code they can get it.  This is 
the same with anything, once something leaves your hands you don't have 
any control over it anymore.


If you are new to programming then something should be mentioned. 
Python just like *any other language* has its strengths and weaknesses. 
  One must choose a language for a project based on the projects 
requirements and not really what they like.  So, for the project you 
have in mind C or Lisp or something else may be far more appropriate to 
code in.

That being said, Python is a great language to learn in.  Many of the 
bad habits, like poor indentation, aren't an issue in Python as if you 
poorly indent you get errors (logical or otherwise).  You can also learn 
structured and object oriented programming and design all in one neat 
little package.

At this point I'd say learn with Python (you'll be glad you did) and 
then revisit the project you have in mind later when you have a better 
idea of its actually requirements.



More information about the Python-list mailing list