Luiz Otávio
|
751e56e759
|
Teoria - Herança Múltipla - Python Orientado a Objetos
|
2022-11-17 09:21:00 -03:00 |
|
Luiz Otávio
|
10e95910ce
|
super() e a sobreposição de membros - Python Orientado a Objetos
|
2022-11-16 10:21:22 -03:00 |
|
Luiz Otávio
|
4dbc9a3357
|
Herança simples - Relações entre classes
|
2022-11-16 08:36:28 -03:00 |
|
Luiz Otávio
|
f8b99e6184
|
TEORIA: Herança, generalização e especialização
|
2022-11-16 08:04:51 -03:00 |
|
Luiz Otávio
|
dea7a02548
|
Exercício com classes
|
2022-11-15 17:46:05 -03:00 |
|
Luiz Otávio
|
4b78d48dd5
|
Composição
|
2022-11-15 14:31:14 -03:00 |
|
Luiz Otávio
|
7bde086ccf
|
Agregação
|
2022-11-15 13:47:24 -03:00 |
|
Luiz Otávio
|
1859ee12d2
|
Relações entre classes: associação, agregação e composição
|
2022-11-15 12:44:38 -03:00 |
|
Luiz Otávio
|
edf4941ffc
|
Encapsulamento (modificadores de acesso: public, protected, private)
|
2022-11-15 10:54:21 -03:00 |
|
Luiz Otávio
|
2d7f0aa53e
|
@property + @setter - getter e setter no modo Pythônico
|
2022-11-15 10:23:04 -03:00 |
|
Luiz Otávio
|
6b05c33edb
|
@property - um getter no modo Pythônico
|
2022-11-15 09:21:30 -03:00 |
|
Luiz Otávio
|
6c573bd9a8
|
Abstração, Herança, Polimorfismo e Encapsulamento
|
2022-11-15 08:08:14 -03:00 |
|
Luiz Otávio
|
5acb44c862
|
method vs @classmethod vs @staticmethod
|
2022-11-15 07:22:25 -03:00 |
|
Luiz Otávio
|
49d7707740
|
@staticmethod (métodos estáticos) são inúteis em Python =)
|
2022-11-14 11:38:28 -03:00 |
|
Luiz Otávio
|
35319d5606
|
Métodos de classe + factories (fábricas)
|
2022-11-14 11:14:29 -03:00 |
|
Luiz Otávio
|
b6bb185969
|
Solução - Exercício + if __name__ == '__main__'
|
2022-11-14 09:53:30 -03:00 |
|
Luiz Otávio
|
92078fa670
|
Exercício - Salve sua classe em JSON
|
2022-11-14 09:31:03 -03:00 |
|
Luiz Otávio
|
3eb3e562d0
|
__dict__ e vars para atributos de instância
|
2022-11-14 09:20:42 -03:00 |
|
Luiz Otávio
|
fe425942fb
|
Atributos de classe
|
2022-11-13 10:32:58 -03:00 |
|
Luiz Otávio
|
ca2a195c3e
|
Mantendo estados dentro da classe
|
2022-11-13 10:07:34 -03:00 |
|
Luiz Otávio
|
8a64528b60
|
Escopo da classe e de métodos da classe
|
2022-11-13 09:50:32 -03:00 |
|
Luiz Otávio
|
04390fe6e5
|
Entendendo self em classes Python
|
2022-11-13 09:18:45 -03:00 |
|
Luiz Otávio
|
bcdd1b1525
|
Métodos em instâncias de classes Python
|
2022-11-13 09:00:38 -03:00 |
|
Luiz Otávio
|
d2b27792b4
|
Métodos em instâncias de classes Python
|
2022-11-13 08:58:29 -03:00 |
|
Luiz Otávio
|
5cc6487fef
|
Introdução ao método __init__ (inicializador de atributos)
|
2022-11-12 12:28:35 -03:00 |
|
Luiz Otávio
|
e872eb7926
|
class - Classes são moldes para criar novos objetos
|
2022-11-12 12:24:54 -03:00 |
|
Luiz Otávio
|
60361583d9
|
Exercício (+solução) - salvando a lista de tarefas em JSON
|
2022-11-11 09:59:42 -03:00 |
|
Luiz Otávio
|
cf9428e3d8
|
Evitando uso de condicionais + Guard Clause
|
2022-11-11 09:27:16 -03:00 |
|
Luiz Otávio
|
ec388f6e29
|
Solução do Exercício - Lista de tarefas com opções de desfazer e refazer
|
2022-11-10 20:52:24 -03:00 |
|
Luiz Otávio
|
92341be010
|
Exercício - Lista de tarefas com opções de desfazer e refazer
|
2022-11-10 20:27:00 -03:00 |
|
Luiz Otávio
|
51f35abc86
|
Problema dos parâmetros mutáveis em funções Python
|
2022-11-10 13:11:55 -03:00 |
|
Luiz Otávio
|
6a352ad20e
|
Salvando dados Python em JSON com json
|
2022-11-10 08:45:12 -03:00 |
|
Luiz Otávio
|
a085acf222
|
os.remove, os.unlink e os.rename - apagando, renomeando e movendo arquivos
|
2022-11-10 07:08:22 -03:00 |
|
Luiz Otávio
|
78fe919b29
|
Remove localcode
|
2022-11-09 09:52:26 -03:00 |
|
Luiz Otávio
|
f705ee4c9d
|
Modos de abertura de arquivo e encoding com with open
|
2022-11-09 07:38:42 -03:00 |
|
Luiz Otávio
|
97280d2209
|
with open (context manager) e métodos úteis do TextIOWrapper
|
2022-11-09 07:07:45 -03:00 |
|
Luiz Otávio
|
953646df7e
|
Criando arquivos com Python + Context Manager with
|
2022-11-09 06:26:34 -03:00 |
|
Luiz Otávio
|
51e5271a95
|
Criando e usando um requirements.txt
|
2022-11-08 10:36:46 -03:00 |
|
Luiz Otávio
|
a5b5dc188e
|
pip - instalando pacotes e bibliotecas
|
2022-11-08 10:13:35 -03:00 |
|
Luiz Otávio
|
589c39be17
|
Ativando e desativando meu ambiente virtual
|
2022-11-08 09:45:42 -03:00 |
|
Luiz Otávio
|
0438c6ff1d
|
Como criar ambientes virtuais com venv
|
2022-11-08 09:27:03 -03:00 |
|
Luiz Otávio
|
86dff0427d
|
O que são ambientes virtuais? (venv)
|
2022-11-08 08:06:42 -03:00 |
|
Luiz Otávio
|
9d5ef71876
|
fix settings.json
|
2022-11-08 07:17:10 -03:00 |
|
Luiz Otávio
|
9a11469fa3
|
settings.json (disable hover)
|
2022-11-08 07:14:20 -03:00 |
|
Luiz Otávio
|
8436a008ab
|
(Parte 2) Métodos úteis nos dicionários Python (dict)
|
2022-11-07 13:55:45 -03:00 |
|
Luiz Otávio
|
e37cdf25f6
|
Cuidados com funções recursivas
|
2022-11-07 09:57:24 -03:00 |
|
Luiz Otávio
|
0e4324aa19
|
Funções recursivas e recursividade
|
2022-11-07 09:06:52 -03:00 |
|
Luiz Otávio
|
22c75cb3f8
|
reduce - faz a redução de um iterável em um valor
|
2022-11-06 15:52:04 -03:00 |
|
Luiz Otávio
|
f4a76dc930
|
filter é um filtro funcional
|
2022-11-06 12:34:56 -03:00 |
|
Luiz Otávio
|
6aef685d54
|
map, partial, GeneratorType e esgotamento de Iterators
|
2022-11-06 12:26:48 -03:00 |
|