S
S
skomoroh2013-12-23 01:22:03
Python
skomoroh, 2013-12-23 01:22:03

How to protect the script from copying and changing?

It is necessary to hide mathematics and logic in the script from reading, since I plan to earn money on it.
And you need to make copy protection, so that they would not sell without me.
Now all logic is in python, gui is in Qt.
Google did not help, now I think that I need to rewrite.
If it works out, I would like to leave it like this in python, if there are no options with python, then advise on what to rewrite, so that there are fewer problems and cross-platform.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
Theodore X, 2013-12-23
@overdoze

Hello
Use cython, it will turn your python code into C++ code, which you can then compile with make and get a binary python module.
For example test.py -> test.pyd (test.so on linux)
Later you can work with it as an open script, simple "import test"
With copy protection a little more complicated. We use binding to hardware and to our server. We assemble the hardware using win32com, but you will have to install pywin32 on each machine.

A
Ali Aliyev, 2013-12-25
@ali_aliev

Cython will help you, and you will get a big performance boost :) If anything, here is my Makefile for creating binaries in cython: pastebin.com/2eP9x6Hi

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question