Apply for Zend Framework Certification Training

Python





from tkinter import*
class Studentsdata:
    def __init__(self,base):
        for i in range(total_rows):
            for j in range(total_columns):
                self.x = Entry(base,width=20,fg='blue',font=('Arial','16'))
                self.x.grid(row=i,column=j)
                self.x.insert(END,Sdata[i][j])

 


Sdata = [
    (1,"Abhimanyu","lakhami nagar","B.tech"),
    (2,"Harikrishan","lakhami nagar","M.tech"),
    (3,"Anchal","lakhami nagar","M.com"),
    (4,"Kuldeep","lakhami nagar","B.tech"),
]
total_rows = len(Sdata)
total_columns = len(Sdata[0])

base = Tk()
t = Studentsdata(base)
base.mainloop()

 

 

< First Getting Started With CodeIgniter URL Routing >



Ask a question



  • Question:
    {{questionlistdata.blog_question_description}}
    • Answer:
      {{answer.blog_answer_description  }}
    Replay to Question


Back to Top