Answer the question
In order to leave comments, you need to log in
How to set an expiration date for a Python program?
I created a program I want to sell, but I don’t know how to sell the rental program, that is, after a certain time the program will not work and only I can renew it. What modules should I use for this?
Answer the question
In order to leave comments, you need to log in
Part of the functionality must be moved to the server. This is the only thing that can be done for python.
Or compile. And hope that the majority of users will be smart enough and paranoid not to run any rubbish from exchangers.
It is necessary to use date.time.
And for the first time launch to see the time.
And at each start to view how much time.
If 30 days have already passed, then the user will be prompted to pay
what modules should be used for this?- Brains
Move everything to the server. Then it will be possible to restrict the rights at the user level. You can also obfuscate the code and encrypt it. At least I have seen encryption for php. Those. the user must download encryption tools to use the program. And already in the encrypted program, you can add any means of checking rights
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question