import pyqrcode 
import png 
from pyqrcode import QRCode 


# String which represents the QR code 
s = input("\nEnter Text Or Url Here: ")

# Generate QR code 
url = pyqrcode.create(s) 

print("\n[1] .svg")
print("[2] .png")

option=input("\nSelect An Option: ")

if option == "1":
	# Create and save the svg file naming "myqr.svg" 
	url.svg("myqr.svg", scale=8)

elif option == "2":
	# Create and save the png file naming "myqr.png" 
	url.png("myqr.png", scale=8)

else:
	print("\nWrong Option !")


# BY DEVSHIMITSU
d03c462268bae25ee18de837cfd817a480ca3602
<mask token>

<mask token>
print('\n[1] .svg')
print('[2] .png')
<mask token>
if option == '1':
    url.svg('myqr.svg', scale=8)
elif option == '2':
    url.png('myqr.png', scale=8)
else:
    print('\nWrong Option !')

<mask token>
s = input("""
Enter Text Or Url Here: """)
url = pyqrcode.create(s)
print('\n[1] .svg')
print('[2] .png')
option = input("""
Select An Option: """)
if option == '1':
    url.svg('myqr.svg', scale=8)
elif option == '2':
    url.png('myqr.png', scale=8)
else:
    print('\nWrong Option !')

import pyqrcode
import png
from pyqrcode import QRCode
s = input("""
Enter Text Or Url Here: """)
url = pyqrcode.create(s)
print('\n[1] .svg')
print('[2] .png')
option = input("""
Select An Option: """)
if option == '1':
    url.svg('myqr.svg', scale=8)
elif option == '2':
    url.png('myqr.png', scale=8)
else:
    print('\nWrong Option !')

import pyqrcode 
import png 
from pyqrcode import QRCode 


# String which represents the QR code 
s = input("\nEnter Text Or Url Here: ")

# Generate QR code 
url = pyqrcode.create(s) 

print("\n[1] .svg")
print("[2] .png")

option=input("\nSelect An Option: ")

if option == "1":
	# Create and save the svg file naming "myqr.svg" 
	url.svg("myqr.svg", scale=8)

elif option == "2":
	# Create and save the png file naming "myqr.png" 
	url.png("myqr.png", scale=8)

else:
	print("\nWrong Option !")


# BY DEVSHIMITSU