Skip to content

Latest commit

 

History

History

Password-Generator

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Password Generator

Python Password Generator

Welcome to the Password Generator project! This Python script generates a random password with a mix of uppercase letters, lowercase letters, digits, and special characters. The password length must be between 8 and 16 characters.

خوش آمدید به پروژه Password Generator! این اسکریپت پایتون یک پسورد تصادفی با ترکیبی از حروف بزرگ، حروف کوچک، اعداد و کاراکترهای خاص تولید می‌کند. طول پسورد باید بین 8 تا 16 کاراکتر باشد.

Navigation

English Version

Overview

This project contains a Python script that generates random passwords. The password includes uppercase letters, lowercase letters, digits, and special characters, and is of length between 8 and 16 characters. This ensures that the generated password is both secure and customizable.

How to Use

To run the password_generator.py script, follow the instructions below for different environments.

Running on Windows 🖥️

  1. Open Command Prompt:

    • Press Win + R, type cmd, and press Enter.
  2. Navigate to the Directory:

    • Use the cd command to change to the directory containing password_generator.py. For example:
      cd path\to\your\python-repository\Variable-Types
  3. Run the Script:

    • Execute the script using Python:
      python password_generator.py
    • Ensure Python is installed and added to your system's PATH.

Running on macOS/Linux 🖥️

  1. Open Terminal:

    • Find Terminal in your Applications folder (macOS) or search for it (Linux).
  2. Navigate to the Directory:

    • Use the cd command to change to the directory containing password_generator.py. For example:
      cd path/to/your/python-repository/Variable-Types
  3. Run the Script:

    • Execute the script using Python:
      python3 password_generator.py
    • Ensure Python 3 is installed and accessible from your PATH.

Using PyCharm 🧑‍💻

  1. Open PyCharm:

    • Launch the PyCharm IDE.
  2. Open the Project:

    • Go to File > Open and select the Variable-Types directory.
  3. Locate the Script:

    • In the Project Explorer pane on the left, find and click on password_generator.py.
  4. Run the Script:

    • Right-click on password_generator.py and select Run 'password_generator'.
    • The output will appear in the Run tool window at the bottom.

Using Visual Studio Code (VSCode) 🧑‍💻

  1. Open Visual Studio Code:

    • Launch VSCode.
  2. Open the Folder:

    • Go to File > Open Folder and select the Variable-Types directory.
  3. Open the Script:

    • In the Explorer pane on the left, click on password_generator.py to open it in the editor.
  4. Run the Script:

    • Via Terminal:
      • Open a new terminal in VSCode by going to Terminal > New Terminal, then run:
        python password_generator.py
    • Via Play Button:
      • If you have the Python extension installed, you can click the green play button in the top right corner of the editor to run the script.

Requirements

  • Python 3.x: Ensure Python 3.x is installed on your system.
  • IDE/Text Editor: PyCharm or VSCode is recommended for a better development experience.

Repository Topics

Add relevant topics to help others find this project:

  • python
  • beginner
  • python3
  • programming
  • beginner-python
  • password-generator
  • password-security
  • python-script
  • random-password
  • secure-password
  • python-project
  • coding-example
  • programming-basics
  • python-tutorial

Contact

For any questions or feedback, please contact me at hamedgharghi1@gmail.com.


نسخه فارسی

مروری بر پروژه

این پروژه شامل یک اسکریپت پایتون است که پسوردهای تصادفی تولید می‌کند. پسورد شامل حروف بزرگ، حروف کوچک، اعداد و کاراکترهای خاص است و طول آن باید بین 8 تا 16 کاراکتر باشد. این ویژگی‌ها باعث می‌شود پسورد تولید شده هم امن و هم قابل تنظیم باشد.

نحوه استفاده

برای اجرای اسکریپت password_generator.py، مراحل زیر را برای محیط‌های مختلف دنبال کنید.

اجرای اسکریپت در ویندوز 🖥️

  1. باز کردن Command Prompt:

    • کلیدهای Win + R را فشار دهید، cmd را تایپ کنید و Enter را بزنید.
  2. رفتن به دایرکتوری:

    • از دستور cd برای تغییر به دایرکتوری حاوی password_generator.py استفاده کنید. برای مثال:
      cd path\to\your\python-repository\Variable-Types
  3. اجرای اسکریپت:

    • اسکریپت را با استفاده از Python اجرا کنید:
      python password_generator.py
    • اطمینان حاصل کنید که Python نصب شده و به PATH سیستم شما اضافه شده است.

اجرای اسکریپت در macOS/Linux 🖥️

  1. باز کردن Terminal:

    • Terminal را در پوشه Applications (macOS) پیدا کنید یا جستجو کنید (Linux).
  2. رفتن به دایرکتوری:

    • از دستور cd برای تغییر به دایرکتوری حاوی password_generator.py استفاده کنید. برای مثال:
      cd path/to/your/python-repository/Variable-Types
  3. اجرای اسکریپت:

    • اسکریپت را با استفاده از Python اجرا کنید:
      python3 password_generator.py
    • اطمینان حاصل کنید که Python 3 نصب شده و از PATH شما قابل دسترسی است.

استفاده از PyCharm 🧑‍💻

  1. باز کردن PyCharm:

    • IDE PyCharm را راه‌اندازی کنید.
  2. باز کردن پروژه:

    • به File > Open بروید و دایرکتوری Variable-Types را انتخاب کنید.
  3. یافتن اسکریپت:

    • در پنل Project Explorer در سمت چپ، روی password_generator.py کلیک کنید.
  4. اجرای اسکریپت:

    • روی password_generator.py کلیک راست کرده و گزینه Run 'password_generator' را انتخاب کنید.
    • خروجی در پنجره Run در پایین ظاهر خواهد شد.

استفاده از Visual Studio Code (VSCode) 🧑‍💻

  1. باز کردن Visual Studio Code:

    • VSCode را راه‌اندازی کنید.
  2. باز کردن پوشه:

    • به File > Open Folder بروید و دایرکتوری Variable-Types را انتخاب کنید.
  3. باز کردن اسکریپت:

    • در پنل Explorer در سمت چپ، روی password_generator.py کلیک کنید تا در ویرایشگر باز شود.
  4. اجرای اسکریپت:

    • از طریق Terminal:
      • یک ترمینال جدید در VSCode باز کنید با رفتن به Terminal > New Terminal و سپس اجرا کنید:
        python password_generator.py
    • از طریق دکمه Play:
      • اگر افزونه Python را نصب کرده‌اید، می‌توانید روی دکمه سبز Play در گوشه بالا سمت راست ویرایشگر کلیک کنید تا اسکریپت را اجرا کنید.

نیازمندی‌ها

  • Python 3.x: اطمینان حاصل کنید که Python 3.x روی سیستم شما نصب شده است.
  • IDE/ویرایشگر متنی: PyCharm یا VSCode برای تجربه بهتر توسعه توصیه می‌شود.

برچسب‌های مخزن

برچسب‌های مربوطه را اضافه کنید تا به دیگران کمک کند این پروژه را پیدا کنند:

  • python
  • beginner
  • python3
  • programming
  • beginner-python
  • password-generator
  • password-security
  • python-script
  • random-password
  • secure-password
  • python-project
  • coding-example
  • programming-basics
  • python-tutorial

تماس

برای هرگونه سوال یا بازخورد، لطفاً با من تماس بگیرید به hamedgharghi1@gmail.com.