deploying python applications

前端 未结 5 1342
盖世英雄少女心
盖世英雄少女心 2021-01-02 00:45

Is it possible to deploy python applications such that you don\'t release the source code and you don\'t have to be sure the customer has python installed?

I\'m thin

5条回答
  •  北海茫月
    2021-01-02 01:41

    Yes, it is possible to make installation packages. Look for py2exe, cx_freeze and others.

    No, it is not possible to keep the source code completely safe. There are always ways to decompile.
    Original source code can trivially be obtained from .pyc files if someone wants to do it. Code obfuscation would make it more difficult to do something with the code.

提交回复
热议问题