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
Auf dieser Seite können Sie das Online-Video Validate Software Registration Key - Python Tkinter GUI Tutorial 190 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer John Elder 07 September 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 7,968 Mal angesehen und es wurde von 215 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!