Click here to Skip to main content
15,885,032 members
Home / Discussions / Python
   

Python

 
QuestionPython vs. PHP - Web Application Development Pin
vitaassure15-Nov-22 10:30
professionalvitaassure15-Nov-22 10:30 
AnswerRe: Python vs. PHP - Web Application Development Pin
Gerry Schmitz15-Nov-22 12:11
mveGerry Schmitz15-Nov-22 12:11 
AnswerRe: Python vs. PHP - Web Application Development Pin
Richard MacCutchan15-Nov-22 21:34
mveRichard MacCutchan15-Nov-22 21:34 
QuestionPython code Pin
Masande Nogemane3-Nov-22 6:34
Masande Nogemane3-Nov-22 6:34 
AnswerRe: Python code Pin
Richard MacCutchan3-Nov-22 7:47
mveRichard MacCutchan3-Nov-22 7:47 
QuestionPython Code Heuristic Algorithm Pin
Member 1581467330-Oct-22 19:31
Member 1581467330-Oct-22 19:31 
AnswerRe: Python Code Heuristic Algorithm Pin
OriginalGriff30-Oct-22 19:34
mveOriginalGriff30-Oct-22 19:34 
QuestionHow to secure Python application using license key? Pin
Alex Dunlop26-Oct-22 5:39
Alex Dunlop26-Oct-22 5:39 
I want to secure my python app using an online license key. Consider the following simple example:

Python
import requests

def license():
    # The list with all keys.
    keys = requests.get("http://yourlink.com/licensekeys.txt").text
    # keys = ["key1", "key2", "key3"]

    # License key from user.
    keyfromuser = "mykey"

    for key in keys.splitlines():
        if key == keyfromuser:
            # Code when key match.
            return

    # Code if the key don't match.
    exit()

license()


Anybody can open my code in notepad and make some changes to disable the license key requirement.

What is the best strategy to implement license approach to make it harder to beginner and intermediate level programmers to reverse engineer my app?
AnswerRe: How to secure Python application using license key? Pin
Gerry Schmitz15-Nov-22 12:04
mveGerry Schmitz15-Nov-22 12:04 
QuestionHow to set activation system to ready python project? Pin
MR-XAN77715-Oct-22 22:38
MR-XAN77715-Oct-22 22:38 
AnswerRe: How to set activation system to ready python project? Pin
Richard MacCutchan16-Oct-22 0:48
mveRichard MacCutchan16-Oct-22 0:48 
Question[Help]H.W issues Pin
אנטון מוטרוק 202115-Oct-22 7:10
אנטון מוטרוק 202115-Oct-22 7:10 
AnswerRe: [Help]H.W issues Pin
Richard MacCutchan15-Oct-22 9:05
mveRichard MacCutchan15-Oct-22 9:05 
QuestionError - 'module' object has no attribute 'askopenfilename' Pin
s yu13-Oct-22 2:59
s yu13-Oct-22 2:59 
AnswerRe: Error - 'module' object has no attribute 'askopenfilename' Pin
Richard MacCutchan13-Oct-22 3:12
mveRichard MacCutchan13-Oct-22 3:12 
QuestionUnexpected token 'root' Pin
s yu12-Oct-22 5:45
s yu12-Oct-22 5:45 
AnswerRe: Unexpected token 'root' Pin
Richard MacCutchan12-Oct-22 6:39
mveRichard MacCutchan12-Oct-22 6:39 
GeneralRe: Unexpected token 'root' Pin
s yu12-Oct-22 7:28
s yu12-Oct-22 7:28 
GeneralRe: Unexpected token 'root' Pin
Richard MacCutchan12-Oct-22 7:57
mveRichard MacCutchan12-Oct-22 7:57 
GeneralRe: Unexpected token 'root' Pin
Dave Kreskowiak12-Oct-22 12:08
mveDave Kreskowiak12-Oct-22 12:08 
GeneralRe: Unexpected token 'root' Pin
s yu13-Oct-22 2:28
s yu13-Oct-22 2:28 
Questionhello, good day, does anyone know how to solve this problem? It would help me a lot if you could explain how to do it Pin
Member 157924299-Oct-22 18:35
Member 157924299-Oct-22 18:35 
AnswerRe: hello, good day, does anyone know how to solve this problem? It would help me a lot if you could explain how to do it Pin
Richard MacCutchan9-Oct-22 22:16
mveRichard MacCutchan9-Oct-22 22:16 
AnswerRe: hello, good day, does anyone know how to solve this problem? It would help me a lot if you could explain how to do it Pin
Reverend Jim10-Jun-23 4:51
Reverend Jim10-Jun-23 4:51 
QuestionCan you have a virtual environment based on a virtual environment? Pin
Chris Maunder5-Oct-22 12:16
cofounderChris Maunder5-Oct-22 12:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.