Estou criando uma tela no python Para que seja digita informações e levada ao banco de dados [fechada]
# Entrada nome
def validar_Nome(self):
while True:
string = input(self)
if not re.match("^[a-zA-Z ]+$", string):
return string
self.entry_nome = Entry(self.frame_cadastro, width=40)
self.entry_nome.place(relx=0.01, rely=0.09)