Validate Software Registration Key - Python Tkinter GUI Tutorial 190

preview_player
Показать описание
In this video I'll show you how to validate your generated registration key with Tkinter and Python.

In the last video we generated a random serial number for software registration. In this video I'll show you how to validate that key, and also generate a key that is always valid.

What makes a valid key? A valid key is valid if we say it is! Whatever rule we create to validate a key will work, so long as that rule is met.

In this video we'll make sure a certain digit occurs three times in our key, and also we'll make sure our key has a numerical score between 1700 and 1800.

#tkinter #codemy #JohnElder

Timecodes

0:00​​ - Introduction
1:16 - Explaining Score and ord()
2:22 - Explaining Secret Digit
3:55 - Verify If/Else Statement
4:22 - Create Verify Function
4:30 - Define Score Variable
4:45 - Define Check Digit and Count
5:48 - Create Chunks From Dashes
6:27 - Create Loop Thru Chunks
7:20 - Increment Check Digit Counter
7:41 - Add Up Score
8:28 - Create Validation Rules
10:03 - Generate New Key If Validation Fails
10:27 - Output Validated Key To Screen
12:39 - Complicated Rule Errors
14:48 - Tighten Score Errors
15:45 - Conclusion
Рекомендации по теме
Комментарии
Автор

▶️ Watch Entire Tkinter Playlist ✅ Subscribe To My YouTube Channel:
▶️ See More At: ✅ Join My Facebook Group:
▶️ Get The Code

Codemycom
Автор

Fantastic tool! I have been pondering over this very same question about how to generate software keys in my head for the past couple of weeks. Then it happened....I stumbled across your video!!! Great work!! Relieves my headache some!

Is there a way to implement some salt or pepper value to the initialization routine to prevent someone else from using this tool to generate their own valid keys?

-DON-

dmatthews
Автор

DIfferent users can use the same license key and it will work, right? It would be easy to share once someone buys a license

redditwishes
Автор

Sir can you please create video on how to call the font dialogue box. I could not find about it anywhere on the internet, but I know that there is a font dialogue box in tkinter as I have seen it the widget demo where all tkinter widgets and what they can do are demonstrated.

seeking.qureshi
Автор

Great video John! I am just a bit confused about how I implement this in my registration form, could you please give any tips?

adrianmahdavian
Автор

I thought software registration keys were for registering.
Like vscode sourcery extension or windows activation key.

NeelAdventures
Автор

Can you make spell checker in tkinter?

pagong
Автор

Tkinter is very old isn't it? Is this technology used anymore?

mynamex
welcome to shbcf.ru