Is there any way I can write this, with a function or anything similar, so that it doesn't take up so much room?
self.birth_date_ent = Entry(self)
self.birth_date_ent.grid(row = 0, column = 1, sticky = W)
self.birth_date_ent.insert(0, "YYYY-MM-DD")
self.birth_time_ent = Entry(self)
self.birth_time_ent.grid(row = 1, column = 1, sticky = W)
self.birth_time_ent.insert(0, "HR:MM")
self.partner_sign_ent = Entry(self)
self.partner_sign_ent.grid(row = 2, column = 1, sticky = W)
self.partner_sign_ent.insert(0, "YYYY-MM-DD")
Thanks!
Well, to make it a bit more DRY, you could write yourself a function: