RoboDK Forum
encryption of python prog.- Printable Version

+- RoboDK Forum (//www.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN)
+ -论坛:一般关于抢劫的问题oDK (//www.sinclairbody.com/forum/Forum-General-questions-about-RoboDK)
+--- Thread: encryption of python prog. (/Thread-encryption-of-python-prog)



encryption of python prog.-timothy-09-01-2021

Hi sirs,
I use the RoboDK on line programming for my project, and I don't want somebody to modify my python code to prevent errors. Is it possible making a password with my python code (e.g. prog1) to achieve my demand?
谢谢你!


RE: encryption of python prog.-Albert-09-01-2021

If you use your Python script as a RoboDK App you can automatically compile your Python code of your apps and distribute your application as an rdkp file. You simply need to run this script when your app is ready:
C:/RoboDK/Apps/CompileApp.py

It is easy to convert any Python script into a RoboDK App by creating a subfolder folder in your Apps folder. An app will link your script to a new icon in the toolbar. More information about RoboDK Apps here:
https://github.com/RoboDK/Plug-In-Interface/tree/master/PluginAppLoader


RE: encryption of python prog.-timothy-09-02-2021

Hi Albert,
thank you very much for your reply. I will try it later!