I was just about to say something similar.
Python is designed to be open, and any attempt of protecting your source code is pretty futile and how to de-compile pyc files is well known.

I was looking into this for similar reasons (not protecting my IP but making some server communication a little bit more secure), but came to the conclusion that python is simply the wrong choice of language if you need to protect your source code. There are many interesting discussions about this online which are worth reading up on I think.

frank

On 3/7/14, 9:08 AM, Nathan Rusch wrote:
Trying to protect "IP" written in pure Python is a losing battle. If you're really paranoid, consider implementing parts of your code in C. As far as versions go, it should be safe to assume that all versions of Nuke 8.0 will use Python 2.7. I believe Nuke 6.2 was the first version to use Python 2.6, but that's going purely on memory. Prior to that, it was 2.5.
-Nathan

*From:* Mathias Möhl <mailto:i...@mamoworld.com>
*Sent:* Thursday, March 06, 2014 11:35 AM
*To:* nuke-python@support.thefoundry.co.uk <mailto:nuke-python@support.thefoundry.co.uk>
*Subject:* [Nuke-python] python versions used by NUKE
Hi everyone,
I want to distribute some NUKE python script as pyc file to protect my IP.
As pyc files are not compatible among different python versions, I need a different pyc file for each version of python that is used by NUKE.
Is it save to assume that
NUKE 8 always uses Python 2.7,
NUKE 7 always uses Python 2.6,
and which other Python versions do I need to consider for earlier NUKE versions?
Cheers,
Mathias
------------------------------------------------------------------------
*mamoworld.com <http://mamoworld.com>
simplify your cgi*

Dr. Mathias Möhl
Marlow 52 , 18551 Sagard, Germany
Phone +49 (0)38302 - 88 75 61
i...@mamoworld.com <mailto:i...@mamoworld.com>

------------------------------------------------------------------------
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python


_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to