Kodi Community Forum
HIdden or encryption python code - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: HIdden or encryption python code (/showthread.php?tid=223173)



HIdden or encryption python code - kamalan - 2015-04-02

Hi,
I wrote kodi addon. I would like to hidden or encrypt this code.
how can I hidden or encrypt python code?
is there any Guide how to do this?
thanks in advance


RE: HIdden or encryption python code - wsnipex - 2015-04-02

Thats not the open source spirit.


RE: HIdden or encryption python code - pkscout - 2015-04-03

The really basic, simple answer is no. If you want to share the addon you will have to share the code, as the python code is interpreted at runtime. If you don't want to share the code, then don't share the add-on.


RE: HIdden or encryption python code - Dalton63841 - 2015-04-03

I think you are confusing Python with another language that gets compiled into a binary before it gets executed. That would roughly be the equivalent of "encrypting" the code.