A simple Python script to generate QR codes from text or URLs.
pip install qrcode[pil]python qr_code_generator.pyEnter your data when prompted, and the QR code will be saved as qr_code.png.
- URL:
https://github.com - Email:
mailto:email@example.com - Wi-Fi:
WIFI:T:WPA;S:NetworkName;P:Password;; - Plain text: Any text you want to encode
Edit the script to customize:
version- QR code size (1-40)error_correction- Error correction level (L, M, Q, H)box_size- Pixel size of each boxborder- Border thicknessfill_color/back_color- Colors
MIT