Skip to content

This is a simple Python script to generate high-quality QR codes from text input. The QR code is saved as a PNG file.

Notifications You must be signed in to change notification settings

slyfox29/QRCode_gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

QR Code Generator

This is a simple Python script to generate high-quality QR codes from text input. The QR code is saved as a PNG file.

Prerequisites

Ensure you have Python 3 installed on your system. You can download it from python.org.

Usage

  1. Clone or download the repository:

    You can download the repository using Git. Open your terminal/command prompt and run:

    git clone https://github.com/slyfox29/QR_gen.git
    

Alternatively, you can download the repository directly as a ZIP file by following these steps:

  1. Navigate to the GitHub page of the repository: https://github.com/slyfox29/QR_gen.
  2. Click on the green "Code" button located at the top right corner.
  3. Select "Download ZIP" from the dropdown menu.
  4. Extract the downloaded ZIP file to a directory of your choice.

How To Run

Once you have downloaded the repository, follow these steps:

  1. Navigate to the directory:

    After downloading, navigate to the directory containing the script:

    cd QR_gen
    
  2. Install dependencies:

    Install the required Python libraries by running:

    pip install -r requirements.txt
  3. Run The Script:

    Run the script using Python 3:

    python3 QRCode_gen.py

    You will be prompted to enter the text you want to convert to a QR code and the name of the output image file (without the extension).

    Enter text to generate QR: Your text or url
    Enter image name to save: output_image_name

    After you input the text and image name, the script will generate a high-quality PNG file with the specified name containing the QR code.

About

This is a simple Python script to generate high-quality QR codes from text input. The QR code is saved as a PNG file.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages