Validate Software Registration Key - Python Tkinter GUI Tutorial 190

Pubblicato il: 07 settembre 2021
sul canale di: John Elder
7,968
215

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


In questa pagina del sito puoi guardare il video online Validate Software Registration Key - Python Tkinter GUI Tutorial 190 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato John Elder 07 settembre 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 7,968 volte e gli è piaciuto 215 spettatori. Buona visione!