Answer the question
In order to leave comments, you need to log in
How to generate qr code in console?
How to generate a Qr Code and print it to the console?
For example, I have a piece of code:
import qrcode
value = input('Значение: ')
name = input('Название файла: ')
img = qrcode.make(value)
print(img)
img.save(name)
█████████████████████████████████████
█████████████████████████████████████
████ ▄▄▄▄▄ █▀▄ ▀ █▄▀ ███ ▄▄▄▄▄ ████
████ █ █ █ ▀▄▀▀▀▀▀ ▀█▄▀█ █ █ ████
████ █▄▄▄█ ██▄▄▀▄ ▀█▀█ ▄ █ █▄▄▄█ ████
████▄▄▄▄▄▄▄█ ▀ ▀ █▄▀ █▄█▄█▄▄▄▄▄▄▄████
████ ███▀█▄█ ▀█▄▄▀▀ █▄ ▀█▄▄▀▀▄ █████
████▀██ ▄ ▄ █ █▀ ▄ ▀█▄▀█ ▄█ ▄▀▀████
████▄██ ▀ ▄ ▄▀█ █▄█▀ █ ▀ ▀ ▄▀ ▀▄ ████
████ ▄▀▄██▄ ▀█▀ ██▄ █ █▀ █▀ ▀▀▀████
████ ▄ ▀ ▄ █▀▄ ▀▀▀▀██▀█▄▀▀▀█▄▄ ████
████ ▄ ▀█ ▄▄▄▀ ▄▄▀█ █ ▄ ▄▄▀██▄▀▄████
████▄█▄▄▄█▄▄ █▀▀▀█ ▀█▄▀▀ ▄▄▄ ▀▄█▄████
████ ▄▄▄▄▄ ██▄▀▀▀█▀ ███ █▄█ ██▀████
████ █ █ ██ ▀█ ▄ ▀██ ▄▄▄███ ████
████ █▄▄▄█ ██▄▄ ▀ ▀▄▄█▀▄▄ ▄▄▄▀▀▄▀████
████▄▄▄▄▄▄▄█▄▄██▄▄█▄▄▄█▄█▄▄█▄▄▄██████
█████████████████████████████████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Answer the question
In order to leave comments, you need to log in
In other words, do you need an ASCII representation of the picture? Then check out this recipe https://www.google.ru/amp/s/www.geeksforgeeks.org/...
Well, in Google search for “png to ascii art python”.
To the heap - https://dev.to/anuragrana/generating-ascii-art-fro...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question