Python tutorial : How to create a random password generator using python for beginners

Python tutorial : How to create a random password generator using python for beginners

johan godinho

3 года назад

75,702 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Tuaj Tuam Qhia Sawv Daws (Let Toua Teach You All)
Tuaj Tuam Qhia Sawv Daws (Let Toua Teach You All) - 01.03.2023 05:57

Nice but different

Ответить
Quinn
Quinn - 26.02.2023 20:43

why does password = " " (someone please quickly explain itll be a huge help)

Ответить
Pim
Pim - 08.02.2023 21:03

nice video but that background music was making it so hard for me to focus on your voice.

Ответить
HogeN
HogeN - 26.12.2022 02:27

Background music was a bit too loud, but the tutorial was great!

Ответить
krak3rs
krak3rs - 06.12.2022 20:08

Im trying to do it in a simillar fashion, but i want the user to input whether they want their password to have symbols, capital letters, or numbers. Any help?

Ответить
booksIn60secs
booksIn60secs - 06.12.2022 16:34

The sound track also..super calm

Ответить
booksIn60secs
booksIn60secs - 06.12.2022 16:33

Very helpful, clear explanation, straight-forward and what not..you just earned a new subscriber👍

Ответить
Dragun motion
Dragun motion - 09.11.2022 04:15

explained it nice and simple thankyou

Ответить
Chris Harrach
Chris Harrach - 07.11.2022 17:14

Very well done video. Straightforward, easily wrapped several concepts together. An overall enjoyable video. It would be helpful to turn down the volume of the music in the video. For me it was loud enough to be distracting, making it difficult to stay focused. Even with that, solid work, my friend.

Ответить
Alperen Baytimur
Alperen Baytimur - 10.10.2022 12:37

you could have used the if statement and than compare it a bit, like if a >= "A" and a <= "Z": so you could have done it a bit easier.

Ответить
VRC Team 4613K
VRC Team 4613K - 29.09.2022 10:57

YES THANK YOU SO MUCH! i have now made a discord nitro bot from this

Ответить
Pedro Rodrigues
Pedro Rodrigues - 12.09.2022 23:30

why not just import string? Genuine question, begginer here

Ответить
Furred Bird
Furred Bird - 03.09.2022 01:15

hay! that looks good. how do i log all the passwords into a txt and how do i stop duplications?

Ответить
Shaik Nasar Ali
Shaik Nasar Ali - 18.08.2022 06:00

Random sample
Lower="abcdefghik"
Upper="ABCDEFGHIK"
NUMBERS="0123456789"
SYMBOLS="@#$_&-+()/?!;:'"*"
ALL=LOWER+UPPER+NUMBERS+SYMBOLS
FOR I IN RANGE(7):
PASSWORD="" .JOIN(RANDOM.SAMPLE(ALL,LENGTH))
PRINT (PASSWORD)
''' generate same output"""""

Ответить
Ondřej Štecher
Ondřej Štecher - 17.08.2022 22:14

it is quite useless xD, not guaranteed that you have atlest one number, one special character.... and sometimes is necessery. You have to check if your password contains what you need

Ответить
Sumit Kumar Sharma
Sumit Kumar Sharma - 10.08.2022 09:14

its not working waste of time

Ответить
Socks Off 5th
Socks Off 5th - 07.08.2022 11:07

Hey what if I wanted to save ALL the passwords generated to a .txt file. How would I do that? because with "with open" it only saves the very last one generated.

Ответить
That's Awesome!
That's Awesome! - 18.07.2022 13:03

thanks!

Ответить
Hassan Jawad
Hassan Jawad - 16.07.2022 20:28

thx for the video

Ответить
Rascal
Rascal - 16.07.2022 12:02

good video, next time i would recommend turning the music down quite a bit, at times it is distracting

Ответить
Omniツ
Omniツ - 03.06.2022 04:08

Expected ":" i keep getting this error and its getting very annoying because idk how to get rid of it

Ответить
KARTIK BHATIA
KARTIK BHATIA - 10.05.2022 18:17

can anyone explain why do we write while 1:

Ответить
David
David - 10.05.2022 02:53

Excellent, good explanation, I had to use random2 module though, random wouldn't work and I was unable to install using 'pip install random' 'pip install random2' worked though.

Ответить
Caleb Simmons
Caleb Simmons - 04.05.2022 00:10

What would be the simplest way to modify this code to allow the user to choose how many of each variable ( lowercase, Upper, numeric, and special)?

Ответить
Veciojackal
Veciojackal - 25.04.2022 11:41

its possible set how many numbers, special character, uppercase and lowcase? ex: i want 4 uppercase 3 numbers ecc

Ответить
Faneto
Faneto - 20.04.2022 05:21

I have a problem, when it is generating the password, it does one character at a time. Example:
Here is your password: 1
Here is your password: 1A
Here is your password: 1A3


Here is your password: 1A3%

Can anyone help me fix this? I used the exact same script as the video.

Ответить
Shahida Jabeen
Shahida Jabeen - 08.04.2022 11:02

what if we just put the password length to 9 as almost all passwords only have 9 letters ?

Ответить
Bouncy Rounzy
Bouncy Rounzy - 03.04.2022 06:20

what program is this

Ответить
HKmemeboi OK?
HKmemeboi OK? - 20.03.2022 18:48

Easiest tutorial, thanks

Ответить
Ankith Gunupudi
Ankith Gunupudi - 28.02.2022 07:56

Regex crying at a Corner

Ответить
Czar IMAN
Czar IMAN - 01.02.2022 05:01

But dude, if I wanna to save the password list in a .txt file..
So, what should I do? :(
Pls help thnx, 🖤

Ответить
Letsgooboi BG
Letsgooboi BG - 25.01.2022 09:57

WE HAVE THe SAME PC BACKGROUND edit : we even use the same coding application -_- visual studios

Ответить
N
N - 11.12.2021 07:26

Which key do you use for line 9? I can't seem to find it on my keyboard :(

Ответить
Mary Atonal
Mary Atonal - 01.12.2021 17:20

If someone has written this code already, can they reply it here?? In a real time crunch and it would help alot, thanks!

Ответить
SpecsLo
SpecsLo - 17.11.2021 23:40

this is the first thing i have ever tried to code, This is the error that i get anyone know how to fix it ? ValueError: invalid literal for int() with base 10: 'How many passwords do you want : '

Ответить
OatNotMeal
OatNotMeal - 17.11.2021 09:52

It doesn’t work

Ответить
Jaaay
Jaaay - 16.11.2021 09:23

Straight to the point and super helpful. Added another python project to my portfolio.

Ответить
Боян Влаховски
Боян Влаховски - 15.11.2021 21:18

COOOOL thats all i can say. I see the likes are 777 and i dont wanna break the thing so i won't like the vid but it's VERY cool

Ответить
timmy 900
timmy 900 - 11.11.2021 19:33

It gave me syntax error

Ответить
sara rara
sara rara - 07.11.2021 17:47

i also want to join your discord can you send me the link?

Ответить
sara rara
sara rara - 07.11.2021 17:47

Do you also have a tutorial of a password strength meter with python?

Ответить
Lucien Longui
Lucien Longui - 05.11.2021 21:43

Can you make a tutorial on how to build a password generator but now working with a mix of numbers and letters. Thanks for the tutorial🙏. I'm impatient for that tutorial

Ответить
greatlakesbaseball
greatlakesbaseball - 28.10.2021 19:16

Really clear tutorial. Thanks man, you should create your own python course people would definitely buy it.

Ответить
VD OFFICIAL CHANNEL
VD OFFICIAL CHANNEL - 23.09.2021 05:40

Good luck remembering those passwords but great tutorial!

Ответить
Alexander Bolas
Alexander Bolas - 09.09.2021 17:54

how can we store the passwords that are generated in a notepad?

Ответить
moe ali
moe ali - 23.08.2021 17:30

try this for chars
import string
chars = string.printable[:-20]

Ответить
Alessandro De Salsi
Alessandro De Salsi - 22.08.2021 23:50

what programs do you use for recording your videos?

Ответить