Python - 057 : Check the format of a password in python

Pubblicato il: 19 July 2023
sul canale di: The Digital Folks
233
8

Check the validity of a given password .

Let's say you want to follow 4 rules to validate password -
1. Length must be greater than 7
2. It must have at least 1 capital letter
3. It must have at least one digit
4. It must have at least one special symbols

you can use below methods to check that

str.isupper()
str.islower()
str.isdigit()
len(str)


In questa pagina del sito puoi guardare il video online Python - 057 : Check the format of a password in python della durata di ore minuti seconda in buona qualità , che l'utente ha caricato The Digital Folks 19 July 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 233 volte e gli è piaciuto 8 spettatori. Buona visione!