Skip to content

imbazinga/password_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

password_generator

This password generator tool generates strong and random passwords for online protection which gives you custom passwords based on the preferences for the number of letters, symbols, and numbers included.

Installation:

  • clone this repository:
git clone https://github.com/imbazinga/password_generator
  • run the python script:
python generate.py

Customization

In the save_passwords function, replace the following path with the actual path where you want to store the passwords:

def save_passwords(self):
      with open(r"path/to/your/directory/pass.txt", "w") as file:
         file.write("\n".join(self.history))

In Load_passwords function, replace "your created file" with your actual filename to see the last generated passwords in the output:

def load_passwords(self):
        try:
            with open("your created file", "r") as file:
                self.history = file.read().splitlines()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages