如何制作加密的可执行文件 [英] How to make an encrypted executable file

查看:79
本文介绍了如何制作加密的可执行文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Ubuntu 上制作了一个用 Python 编写的工具/程序.我想把这个给我朋友在他的电脑上测试,但我不想分享源代码.

I have made a tool/program on Ubuntu written in Python. I want to give this to my friend to test on his PC, but I don't want to share the source code.

这个程序有很多文件夹和很多 .py 文件.有没有办法将所有这些代码转换成一个加密的可执行文件(如二进制文件)?

This program has many folders and many .py files. Is there a way to turn all this code into one encrypted executable file (like a binary file)?

推荐答案

您始终可以混淆源代码.您可以在此处使用工具 pyobfuscate.要了解有关混淆的更多信息,请转到混淆 Python 代码以及有关保护 Python 代码.

You can always obfuscate the source code. Here you can use the tool pyobfuscate. To know more about obfuscation, go to obfuscating Python code and information about protecting Python code.

这篇关于如何制作加密的可执行文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆