deploying python applications

前端 未结 5 1319
盖世英雄少女心
盖世英雄少女心 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:18

    Well, it depends what you want to do. If by "not releasing the source code" you mean "the customer should not be able to access the source code in any way", well, you're fighting a losing battle. Even programs written in C can be reverse engineered, after all. If you're afraid someone will steal from you, make them sign a contract and sue them if there's trouble.

    But if you mean "the customer should not care about python files, and not be able to casually access them", you can use a solution like cx_Freeze to turn your Python application into an executable.

提交回复
热议问题