Why am I getting error as "FrontEnd() takes no arguments"? Please let me know this asap Sir. from tkinter import ttk, Tk, PhotoImage
class FrontEnd: def __int__ (self, master): self.master = master #ttk.Label(self.master, text="This is the test label").pack() self.frame_header = ttk.Frame(self.master) self.frame_header.pack() #all frames will use pack
ttk.Label(self.frame_header, text="Welcome to the Inage editor App!").grid(row=0, column=1) ttk.Label(self.frame_header, text="Upload, Edit and Save your Images Easily").grid(row=1, column=0)
root = Tk() FrontEnd(root) root.mainloop() the error is : FrontEnd(root) TypeError: FrontEnd() takes no arguments
@@PhiBITech yes sure. The problem is once I execute this code : from tkinter import ttk, Tk, PhotoImage
class FrontEnd: def _int_ (self, master): self.master = master #ttk.Label(self.master, text="This is the test label").pack() self.frame_header = ttk.Frame(self.master) self.frame_header.pack() #all frames will use pack
ttk.Label(self.frame_header, text="Welcome to the Inage editor App!").grid(row=0, column=1) ttk.Label(self.frame_header, text="Upload, Edit and Save your Images Easily").grid(row=1, column=0)
root = Tk() **FrontEnd(root) ====> error root.mainloop() I am getting error as: FrontEnd(root) TypeError: FrontEnd() takes no arguments I am getting error on Frontend(root) line. So I want to know why am I getting error?
Please show us many project 🔥🔥❣️
thanks your code
💯
Why am I getting error as "FrontEnd() takes no arguments"? Please let me know this asap Sir.
from tkinter import ttk, Tk, PhotoImage
class FrontEnd:
def __int__ (self, master):
self.master = master
#ttk.Label(self.master, text="This is the test label").pack()
self.frame_header = ttk.Frame(self.master)
self.frame_header.pack() #all frames will use pack
ttk.Label(self.frame_header, text="Welcome to the Inage editor App!").grid(row=0, column=1)
ttk.Label(self.frame_header, text="Upload, Edit and Save your Images Easily").grid(row=1, column=0)
root = Tk()
FrontEnd(root)
root.mainloop()
the error is :
FrontEnd(root)
TypeError: FrontEnd() takes no arguments
Explain the problem more, can't check now but can we talk later tomorrow
@@PhiBITech yes sure.
The problem is once I execute this code :
from tkinter import ttk, Tk, PhotoImage
class FrontEnd:
def _int_ (self, master):
self.master = master
#ttk.Label(self.master, text="This is the test label").pack()
self.frame_header = ttk.Frame(self.master)
self.frame_header.pack() #all frames will use pack
ttk.Label(self.frame_header, text="Welcome to the Inage editor App!").grid(row=0, column=1)
ttk.Label(self.frame_header, text="Upload, Edit and Save your Images Easily").grid(row=1, column=0)
root = Tk()
**FrontEnd(root) ====> error
root.mainloop()
I am getting error as:
FrontEnd(root)
TypeError: FrontEnd() takes no arguments
I am getting error on Frontend(root) line. So I want to know why am I getting error?
@@PhiBITech hello are you free now?? Can you let me know where I have gone wrong?
code source please
check my github for all my codes on the channel github.com/abassolaiya
please share the code
Check github.com./abassolaiya
is it a web app?