Mensagens

A mostrar mensagens de fevereiro, 2024

Execução do Orçamento

from tkinter import * root = Tk() root.geometry( "400x400" ) root.resizable( 0 , 0 ) root.config( bg = "#103030" ) root.title( "Execução do Orçamento" ) titulo = Label( text = "Execução do Orçamento" , font =( "Arial" , "23" , "bold" ) , bg = "#103030" , fg = "#49e3e3" ) titulo.place( relx = 0.05 , rely = 0.05 ) texto_sub1 = Label( text = "Valor Orçamentado:" , font =( "Arial" , "15" , "bold" ) , bg = "#103030" , fg = "#49e3e3" ) texto_sub1.place( relx = 0.05 , rely = 0.3 ) texto_sub2 = Label( text = "Valor Executado:" , font =( "Arial" , "15" , "bold" ) , bg = "#103030" , fg = "#49e3e3" ) texto_sub2.place( relx = 0.1 , rely = 0.45 ) Valor_Orçamentado = DoubleVar() Valor_Orçamentado_entrada = Entry( textvariable =Valor_Orçament...

Índice de Eficiência de Recursos Humanos

from tkinter import * root = Tk() root.geometry( "500x400" ) root.resizable( 0 , 0 ) root.config( bg = "#134744" ) root.title( "Índice de Eficiência de Recursos Humanos" ) titulo = Label( text = "Índice de Eficiência de Recursos Humanos" , font =( "Arial" , "17" , "bold" ) , bg = "#134744" , fg = "#09d9a8" ) titulo.place( relx = 0.03 , rely = 0.05 ) texto_sub1 = Label( text = "Receita Líquida:" , font =( "Arial" , "15" , "bold" ) , bg = "#134744" , fg = "#09d9a8" ) texto_sub1.place( relx = 0.26 , rely = 0.25 ) texto_sub2 = Label( text = "Despesas com Funcionários:" , font =( "Arial" , "15" , "bold" ) , bg = "#134744" , fg = "#09d9a8" ) texto_sub2.place( relx = 0.03 , rely = 0.4 ) Receita_Líquida = DoubleVar() Receita_Líquid...

Olá(Tkinter)

from tkinter import * root = Tk() root.geometry( "550x550" ) root.resizable( 0 , 0 ) root.config( bg = "#103030" ) root.title( "Olá" ) titulo = Label( text = "Olá" , font =( "Arial" , "55" , "bold" ) , bg = "#103030" , fg = "#49e3e3" ) titulo.place( relx = 0.4 , rely = 0.05 ) texto_sub1 = Label( text = "Qual o seu nome?" , font =( "Arial" , "18" , "bold" ) , bg = "#103030" , fg = "#49e3e3" ) texto_sub1.place( relx = 0.18 , rely = 0.23 ) texto_sub2 = Label( text = "Qual é a sua idade?" , font =( "Arial" , "18" , "bold" ) , bg = "#103030" , fg = "#49e3e3" ) texto_sub2.place( relx = 0.16 , rely = 0.35 ) texto_sub3 = Label( text = "Em qual cidade você vive?" , font =( "Arial" , "18" ...

Biblioteca de Cimena

from tkinter import * root = Tk() root.geometry( "500x500" ) root.resizable( 0 , 0 ) root.config( bg = "#103030" ) root.title( "Biblioteca de Cimena" ) titulo = Label( text = "Cimena" , font =( "Arial" , "55" , "bold" ) , bg = "#103030" , fg = "#49e3e3" ) titulo.place( relx = 0.25 , rely = 0.05 ) texto_sub1 = Label( text = "Qual filme deseja assistir?" , font =( "Arial" , "15" , "bold" ) , bg = "#103030" , fg = "#49e3e3" ) texto_sub1.place( relx = 0.05 , rely = 0.3 ) texto_sub2 = Label( text = "Qual é a sua idade?" , font =( "Arial" , "15" , "bold" ) , bg = "#103030" , fg = "#49e3e3" ) texto_sub2.place( relx = 0.17 , rely = 0.43 ) texto_sub3 = Label( text = "Quantos bilhetes?" , font =( "Arial...

Desempenho de um jogador

from tkinter import * root = Tk() root.geometry( "500x600" ) root.resizable( 0 , 0 ) root.config( bg = "#103030" ) root.title( "Desempenho de um jogador" ) titulo = Label( text = "Desempenho de um jogador" , font =( "Arial" , "25" , "bold" ) , bg = "#103030" , fg = "#49e3e3" ) titulo.place( relx = 0.08 , rely = 0.05 ) texto_sub1 = Label( text = "Golos :" , font =( "Arial" , "18" , "bold" ) , bg = "#103030" , fg = "#49e3e3" ) texto_sub1.place( relx = 0.3 , rely = 0.2 ) texto_sub2 = Label( text = "Assistências:" , font =( "Arial" , "18" , "bold" ) , bg = "#103030" , fg = "#49e3e3" ) texto_sub2.place( relx = 0.2 , rely = 0.3 ) texto_sub3 = Label( text = "Chances Criadas:" , font =( "Arial" , "18" , "bold" ) , bg = "#103030...

Pig Latin (usando Tkinter)

from tkinter import * root = Tk() root.geometry( "400x400" ) root.resizable( 0 , 0 ) root.config( bg = "#103030" ) root.title( "Pig Latin" ) titulo = Label( text = "Pig Latin" , font =( "Arial" , "55" , "bold" ) , bg = "#103030" , fg = "#49e3e3" ) titulo.place( relx = 0.1 , rely = 0.05 ) texto_sub1 = Label( text = "Frase:" , font =( "Arial" , "20" , "bold" ) , bg = "#103030" , fg = "#49e3e3" ) texto_sub1.place( relx = 0.1 , rely = 0.35 ) frase = StringVar() frase_entrada = Entry( textvariable =frase , font =( "Arial" , "12" , "bold" ) , bg = "white" , fg = "blue" , justify = 'center' ) frase_entrada.place( relx = 0.33 , rely = 0.37 , relwidth = 0.63 ) def limpar (): frase_entrada.delete( 0 , END) ...

Numerologia (usando tkinter)

from tkinter import * root = Tk() root.geometry( "400x400" ) root.resizable( 0 , 0 ) root.config( bg = "#103030" ) root.title( "Numerologia" ) titulo = Label( text = "Numerologia" , font =( "Arial" , "28" , "bold" ) , bg = "#103030" , fg = "#49e3e3" ) titulo.place( relx = 0.18 , rely = 0.05 ) texto_sub1 = Label( text = "O seu nome:" , font =( "Arial" , "18" , "bold" ) , bg = "#103030" , fg = "#49e3e3" ) texto_sub1.place( relx = 0.05 , rely = 0.3 ) Nome = StringVar() Nome_entrada = Entry( textvariable =Nome , font =( "Arial" , "12" , "bold" ) , bg = "white" , fg = "blue" , justify = 'center' ) Nome_entrada.place( relx = 0.45 , rely = 0.31 , relwidth = 0.5 ) def reduzir_numero (numero): while numero > ...