From ba77bc0aefacfa4d5734a66347ec2e895c9da194 Mon Sep 17 00:00:00 2001 From: Vishal1422 <69663299+Vishal1422@users.noreply.github.com> Date: Thu, 8 Oct 2020 13:00:55 +0530 Subject: [PATCH] password generator in python i have created a password generator in python. hope you would like it. if i was helpful please accept my pull request. --- password Generator in Python | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 password Generator in Python diff --git a/password Generator in Python b/password Generator in Python new file mode 100644 index 0000000..cda40b3 --- /dev/null +++ b/password Generator in Python @@ -0,0 +1,9 @@ +import strings +import random +s = " abcdefghijkl\ + 567890ABCDEFGHIJKLM\ + NOPQRSTUVWXYZ!@$%^&*\ + ()_-+[]{};/';., " +passwordlen = 16 +password = "".join(random.sample(s,passwordlen)) +print(password)