Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 45b39bf

Browse files
author
firstproject
committed
comiit all cahnges
1 parent a4ef131 commit 45b39bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎QR-code-Genrator/main.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def __init__(self, root):
1313
self.root.geometry('900x500+200+50')
1414
self.root.resizable(False, False)
1515

16-
title = Label(self.root,text=" QR Code Genrator", font=("time new roman",40), bg="#F96900", fg="white", anchor="w").place(x=0,y=0,relwidth=1)
16+
title = Label(self.root,text=" QR COde Genrator", font=("time new roman",40), bg="#F96900", fg="white", anchor="w").place(x=0,y=0,relwidth=1)
1717

1818
# Variable
1919
self.var_emp_code=StringVar()
@@ -75,7 +75,7 @@ def genrate(self):
7575
qr_code=qrcode.make(qr_data)
7676
# print(qr_code)
7777
qr_code=resizeimage.resize_cover(qr_code,[180,180])
78-
qr_code.save('../QR-code-Genrator/employee_qr/emp_'+str(self.var_emp_code.get()+'.png'))
78+
qr_code.save('./QR-code-Genrator/employee_qr/emp_'+str(self.var_emp_code.get()+'.png'))
7979
# qr code img update
8080
self.im=ImageTk.PhotoImage(file='../QR-code-Genrator/employee_qr/emp_'+str(self.var_emp_code.get()+'.png'))
8181
self.qr_code.config(image=self.im)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /