Python Forum
help me to make my password list in python >>>
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help me to make my password list in python >>>
#1
hii am new here

i want to make my own password listbut i have some problems

i write this

"""Start
import itertools

names= ["sushi","messi","barcelona","2022","worldcup","pes","fifa","ronaldo"]

pas_words = itertools.permutations(names)

with open ("pass.txt","a") as myfile:

for pas in pas_words:

pas_word ="".join(pas)

myfile.write(pas_word + "\n")
"""""finish

this code using all the 8 name to make passList

I Want the code use 7 name and 6 and 5 names with all possibility to make passList

how can i write to work ?????
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Trying to make a password generator Jankofcik 1 548 Aug-06-2023, 01:22 PM
Last Post: deanhystad
  Why do I have to repeat items in list slices in order to make this work? Pythonica 7 1,354 May-22-2023, 10:39 PM
Last Post: ICanIBB
  how to make bot that sends instagram auto password reset code kraixx 2 1,385 Mar-04-2023, 09:59 PM
Last Post: jefsummers
  Make Groups with the List Elements quest 2 1,986 Jul-11-2021, 09:58 AM
Last Post: perfringo
Question How to make a 3D List of Excel Spreadsheets? chatguy 4 2,757 Jan-24-2021, 05:24 AM
Last Post: buran
  Undo interation to make a single list? DustinKlent 2 2,191 Nov-29-2020, 03:41 AM
Last Post: DustinKlent
  How to make global list inside function CHANKC 6 3,123 Nov-26-2020, 08:05 AM
Last Post: CHANKC
  How do i make a new lists out of an list ozezn1 1 1,700 Oct-28-2020, 10:19 PM
Last Post: Gribouillis
  Make list of dates between today back to n days Mekala 3 2,401 Oct-03-2020, 01:01 PM
Last Post: ibreeden
  How to make a list of values from a dictionary list? faryad13 2 2,077 Sep-03-2020, 03:45 PM
Last Post: faryad13

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020