diff --git a/solved_exercises/VPL - Virtual Programming Lab/1 - Roupas/Diagrama de classe roupa.png b/solved_exercises/VPL/1 - Roupas/Diagrama de classe roupa.png similarity index 100% rename from solved_exercises/VPL - Virtual Programming Lab/1 - Roupas/Diagrama de classe roupa.png rename to solved_exercises/VPL/1 - Roupas/Diagrama de classe roupa.png diff --git a/solved_exercises/VPL - Virtual Programming Lab/1 - Roupas/Programa_Principal.py b/solved_exercises/VPL/1 - Roupas/Programa_Principal.py similarity index 100% rename from solved_exercises/VPL - Virtual Programming Lab/1 - Roupas/Programa_Principal.py rename to solved_exercises/VPL/1 - Roupas/Programa_Principal.py diff --git a/solved_exercises/VPL - Virtual Programming Lab/1 - Roupas/Roupa.py b/solved_exercises/VPL/1 - Roupas/Roupa.py similarity index 100% rename from solved_exercises/VPL - Virtual Programming Lab/1 - Roupas/Roupa.py rename to solved_exercises/VPL/1 - Roupas/Roupa.py diff --git a/solved_exercises/VPL - Virtual Programming Lab/2 - Camisas/Camisa.py b/solved_exercises/VPL/2 - Camisas/Camisa.py similarity index 100% rename from solved_exercises/VPL - Virtual Programming Lab/2 - Camisas/Camisa.py rename to solved_exercises/VPL/2 - Camisas/Camisa.py diff --git a/solved_exercises/VPL - Virtual Programming Lab/2 - Camisas/Diagrama de classe roupa.png b/solved_exercises/VPL/2 - Camisas/Diagrama de classe roupa.png similarity index 100% rename from solved_exercises/VPL - Virtual Programming Lab/2 - Camisas/Diagrama de classe roupa.png rename to solved_exercises/VPL/2 - Camisas/Diagrama de classe roupa.png diff --git a/solved_exercises/VPL - Virtual Programming Lab/2 - Camisas/Programa_Principal.py b/solved_exercises/VPL/2 - Camisas/Programa_Principal.py similarity index 100% rename from solved_exercises/VPL - Virtual Programming Lab/2 - Camisas/Programa_Principal.py rename to solved_exercises/VPL/2 - Camisas/Programa_Principal.py diff --git a/solved_exercises/VPL - Virtual Programming Lab/2 - Camisas/Roupa.py b/solved_exercises/VPL/2 - Camisas/Roupa.py similarity index 100% rename from solved_exercises/VPL - Virtual Programming Lab/2 - Camisas/Roupa.py rename to solved_exercises/VPL/2 - Camisas/Roupa.py diff --git a/solved_exercises/VPL - Virtual Programming Lab/3 - IPTU/Contribuinte.py b/solved_exercises/VPL/3 - IPTU/Contribuinte.py similarity index 100% rename from solved_exercises/VPL - Virtual Programming Lab/3 - IPTU/Contribuinte.py rename to solved_exercises/VPL/3 - IPTU/Contribuinte.py diff --git a/solved_exercises/VPL - Virtual Programming Lab/3 - IPTU/Diagrama de classe.png b/solved_exercises/VPL/3 - IPTU/Diagrama de classe.png similarity index 100% rename from solved_exercises/VPL - Virtual Programming Lab/3 - IPTU/Diagrama de classe.png rename to solved_exercises/VPL/3 - IPTU/Diagrama de classe.png diff --git a/solved_exercises/VPL - Virtual Programming Lab/3 - IPTU/Programa_Principal.py b/solved_exercises/VPL/3 - IPTU/Programa_Principal.py similarity index 100% rename from solved_exercises/VPL - Virtual Programming Lab/3 - IPTU/Programa_Principal.py rename to solved_exercises/VPL/3 - IPTU/Programa_Principal.py diff --git a/solved_exercises/VPL - Virtual Programming Lab/3 - IPTU/Terreno.py b/solved_exercises/VPL/3 - IPTU/Terreno.py similarity index 100% rename from solved_exercises/VPL - Virtual Programming Lab/3 - IPTU/Terreno.py rename to solved_exercises/VPL/3 - IPTU/Terreno.py diff --git a/solved_exercises/VPL - Virtual Programming Lab/4 - Tkinter grid layout/Diagrama de classes.png b/solved_exercises/VPL/4 - Tkinter grid layout/Diagrama de classes.png similarity index 100% rename from solved_exercises/VPL - Virtual Programming Lab/4 - Tkinter grid layout/Diagrama de classes.png rename to solved_exercises/VPL/4 - Tkinter grid layout/Diagrama de classes.png diff --git a/solved_exercises/VPL - Virtual Programming Lab/4 - Tkinter grid layout/Interface do programa.png b/solved_exercises/VPL/4 - Tkinter grid layout/Interface do programa.png similarity index 100% rename from solved_exercises/VPL - Virtual Programming Lab/4 - Tkinter grid layout/Interface do programa.png rename to solved_exercises/VPL/4 - Tkinter grid layout/Interface do programa.png diff --git a/solved_exercises/VPL - Virtual Programming Lab/4 - Tkinter grid layout/Janela.py b/solved_exercises/VPL/4 - Tkinter grid layout/Janela.py similarity index 100% rename from solved_exercises/VPL - Virtual Programming Lab/4 - Tkinter grid layout/Janela.py rename to solved_exercises/VPL/4 - Tkinter grid layout/Janela.py diff --git a/solved_exercises/VPL - Virtual Programming Lab/4 - Tkinter grid layout/Programa_Principal.py b/solved_exercises/VPL/4 - Tkinter grid layout/Programa_Principal.py similarity index 100% rename from solved_exercises/VPL - Virtual Programming Lab/4 - Tkinter grid layout/Programa_Principal.py rename to solved_exercises/VPL/4 - Tkinter grid layout/Programa_Principal.py diff --git a/solved_exercises/VPL - Virtual Programming Lab/5 - Tkinter calculadora/Diagrama de classes.png b/solved_exercises/VPL/5 - Tkinter calculadora/Diagrama de classes.png similarity index 100% rename from solved_exercises/VPL - Virtual Programming Lab/5 - Tkinter calculadora/Diagrama de classes.png rename to solved_exercises/VPL/5 - Tkinter calculadora/Diagrama de classes.png diff --git a/solved_exercises/VPL - Virtual Programming Lab/5 - Tkinter calculadora/Interface do programa.png b/solved_exercises/VPL/5 - Tkinter calculadora/Interface do programa.png similarity index 100% rename from solved_exercises/VPL - Virtual Programming Lab/5 - Tkinter calculadora/Interface do programa.png rename to solved_exercises/VPL/5 - Tkinter calculadora/Interface do programa.png diff --git a/solved_exercises/VPL - Virtual Programming Lab/5 - Tkinter calculadora/Janela.py b/solved_exercises/VPL/5 - Tkinter calculadora/Janela.py similarity index 100% rename from solved_exercises/VPL - Virtual Programming Lab/5 - Tkinter calculadora/Janela.py rename to solved_exercises/VPL/5 - Tkinter calculadora/Janela.py diff --git a/solved_exercises/VPL - Virtual Programming Lab/5 - Tkinter calculadora/Programa_Principal.py b/solved_exercises/VPL/5 - Tkinter calculadora/Programa_Principal.py similarity index 100% rename from solved_exercises/VPL - Virtual Programming Lab/5 - Tkinter calculadora/Programa_Principal.py rename to solved_exercises/VPL/5 - Tkinter calculadora/Programa_Principal.py diff --git a/solved_exercises/VPL - Virtual Programming Lab/6 - Tkinter torcidas/Diagrama de classes.png b/solved_exercises/VPL/6 - Tkinter torcidas/Diagrama de classes.png similarity index 100% rename from solved_exercises/VPL - Virtual Programming Lab/6 - Tkinter torcidas/Diagrama de classes.png rename to solved_exercises/VPL/6 - Tkinter torcidas/Diagrama de classes.png diff --git a/solved_exercises/VPL - Virtual Programming Lab/6 - Tkinter torcidas/Interface do programa.png b/solved_exercises/VPL/6 - Tkinter torcidas/Interface do programa.png similarity index 100% rename from solved_exercises/VPL - Virtual Programming Lab/6 - Tkinter torcidas/Interface do programa.png rename to solved_exercises/VPL/6 - Tkinter torcidas/Interface do programa.png diff --git a/solved_exercises/VPL - Virtual Programming Lab/6 - Tkinter torcidas/Janela.py b/solved_exercises/VPL/6 - Tkinter torcidas/Janela.py similarity index 100% rename from solved_exercises/VPL - Virtual Programming Lab/6 - Tkinter torcidas/Janela.py rename to solved_exercises/VPL/6 - Tkinter torcidas/Janela.py diff --git a/solved_exercises/VPL - Virtual Programming Lab/6 - Tkinter torcidas/Programa_Principal.py b/solved_exercises/VPL/6 - Tkinter torcidas/Programa_Principal.py similarity index 100% rename from solved_exercises/VPL - Virtual Programming Lab/6 - Tkinter torcidas/Programa_Principal.py rename to solved_exercises/VPL/6 - Tkinter torcidas/Programa_Principal.py diff --git a/solved_exercises/VPL - Virtual Programming Lab/7 - Tkinter 01/MateusAdada_Tkinter_01.png b/solved_exercises/VPL/7 - Tkinter 01/MateusAdada_Tkinter_01.png similarity index 100% rename from solved_exercises/VPL - Virtual Programming Lab/7 - Tkinter 01/MateusAdada_Tkinter_01.png rename to solved_exercises/VPL/7 - Tkinter 01/MateusAdada_Tkinter_01.png diff --git a/solved_exercises/VPL - Virtual Programming Lab/7 - Tkinter 01/MateusAdada_Tkinter_01.py b/solved_exercises/VPL/7 - Tkinter 01/MateusAdada_Tkinter_01.py similarity index 95% rename from solved_exercises/VPL - Virtual Programming Lab/7 - Tkinter 01/MateusAdada_Tkinter_01.py rename to solved_exercises/VPL/7 - Tkinter 01/MateusAdada_Tkinter_01.py index 09a1e47..41dc78e 100644 --- a/solved_exercises/VPL - Virtual Programming Lab/7 - Tkinter 01/MateusAdada_Tkinter_01.py +++ b/solved_exercises/VPL/7 - Tkinter 01/MateusAdada_Tkinter_01.py @@ -1,27 +1,27 @@ -from tkinter import * - - -class Janela(Tk): - form = None - calc = None - resultado = None - - def __init__(self): - super().__init__() - self.title('Calculadora para Estatística') - self.geometry('800x600') - self.inicialize() - - def inicialize(self): - self.form = Entry(self) - self.calc = Button(self, text='Calcule') - self.resultado = Label(self, text='Resultado', fg='blue') - - self.form.pack() - self.calc.pack() - self.resultado.pack() - - -# programa principal -janela = Janela() -janela.mainloop() +from tkinter import * + + +class Janela(Tk): + form = None + calc = None + resultado = None + + def __init__(self): + super().__init__() + self.title('Calculadora para Estatística') + self.geometry('800x600') + self.inicialize() + + def inicialize(self): + self.form = Entry(self) + self.calc = Button(self, text='Calcule') + self.resultado = Label(self, text='Resultado', fg='blue') + + self.form.pack() + self.calc.pack() + self.resultado.pack() + + +# programa principal +janela = Janela() +janela.mainloop() diff --git a/solved_exercises/VPL - Virtual Programming Lab/8 - Tkinter 02/MateusAdada_Tkinter_02.png b/solved_exercises/VPL/8 - Tkinter 02/MateusAdada_Tkinter_02.png similarity index 100% rename from solved_exercises/VPL - Virtual Programming Lab/8 - Tkinter 02/MateusAdada_Tkinter_02.png rename to solved_exercises/VPL/8 - Tkinter 02/MateusAdada_Tkinter_02.png diff --git a/solved_exercises/VPL - Virtual Programming Lab/8 - Tkinter 02/MateusAdada_Tkinter_02.py b/solved_exercises/VPL/8 - Tkinter 02/MateusAdada_Tkinter_02.py similarity index 95% rename from solved_exercises/VPL - Virtual Programming Lab/8 - Tkinter 02/MateusAdada_Tkinter_02.py rename to solved_exercises/VPL/8 - Tkinter 02/MateusAdada_Tkinter_02.py index 5d9601c..9661bf5 100644 --- a/solved_exercises/VPL - Virtual Programming Lab/8 - Tkinter 02/MateusAdada_Tkinter_02.py +++ b/solved_exercises/VPL/8 - Tkinter 02/MateusAdada_Tkinter_02.py @@ -1,29 +1,29 @@ -from tkinter import * - - -class Janela(Tk): - form = None - calc = None - resultado = None - - def __init__(self): - super().__init__() - self.title('Calculadora para Estatística') - self.geometry('800x600') - self.inicialize() - - def inicialize(self): - self.form = Entry(self) - self.calc = Button(self, text='Calcule') - self.resultado = Label(self, text='Resultado', fg='blue') - - self.form.grid(row=0, column=0) - self.calc.grid(row=1, column=0) - self.resultado.grid(row=2, column=0) - - self.anchor('n') - - -# programa principal -janela = Janela() -janela.mainloop() +from tkinter import * + + +class Janela(Tk): + form = None + calc = None + resultado = None + + def __init__(self): + super().__init__() + self.title('Calculadora para Estatística') + self.geometry('800x600') + self.inicialize() + + def inicialize(self): + self.form = Entry(self) + self.calc = Button(self, text='Calcule') + self.resultado = Label(self, text='Resultado', fg='blue') + + self.form.grid(row=0, column=0) + self.calc.grid(row=1, column=0) + self.resultado.grid(row=2, column=0) + + self.anchor('n') + + +# programa principal +janela = Janela() +janela.mainloop() diff --git "a/solved_exercises/VPL - Virtual Programming Lab/9 - Atividade f\303\255sica/Diagrama de classes.png" "b/solved_exercises/VPL/9 - Atividade f\303\255sica/Diagrama de classes.png" similarity index 100% rename from "solved_exercises/VPL - Virtual Programming Lab/9 - Atividade f\303\255sica/Diagrama de classes.png" rename to "solved_exercises/VPL/9 - Atividade f\303\255sica/Diagrama de classes.png" diff --git "a/solved_exercises/VPL - Virtual Programming Lab/9 - Atividade f\303\255sica/Interface do programa.png" "b/solved_exercises/VPL/9 - Atividade f\303\255sica/Interface do programa.png" similarity index 100% rename from "solved_exercises/VPL - Virtual Programming Lab/9 - Atividade f\303\255sica/Interface do programa.png" rename to "solved_exercises/VPL/9 - Atividade f\303\255sica/Interface do programa.png" diff --git "a/solved_exercises/VPL - Virtual Programming Lab/9 - Atividade f\303\255sica/Janela.py" "b/solved_exercises/VPL/9 - Atividade f\303\255sica/Janela.py" similarity index 100% rename from "solved_exercises/VPL - Virtual Programming Lab/9 - Atividade f\303\255sica/Janela.py" rename to "solved_exercises/VPL/9 - Atividade f\303\255sica/Janela.py" diff --git "a/solved_exercises/VPL - Virtual Programming Lab/9 - Atividade f\303\255sica/Programa_Principal.py" "b/solved_exercises/VPL/9 - Atividade f\303\255sica/Programa_Principal.py" similarity index 100% rename from "solved_exercises/VPL - Virtual Programming Lab/9 - Atividade f\303\255sica/Programa_Principal.py" rename to "solved_exercises/VPL/9 - Atividade f\303\255sica/Programa_Principal.py"