#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2004
    Posts
    35
    Rep Power
    10

    encrippt *.py files


    is there any way of encripting the code so nobady can modify it, only can modify the original?????
  2. #2
  3. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    The simplest solution would be to only distribute the programs .pyc files. Where it is possible to rebuild the programs Source Code form the Python Bytecode, it would at least act as a deterrent.

    Also, if your program will be running on Windows then you could use Py2exe to create an executable from the program. But again, this could be used to rebuild the Python Source Code.

    Mark.
    programming language development: www.netytan.com Hula


IMN logo majestic logo threadwatch logo seochat tools logo