pyinstaller -w nome_do_software.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
db: | |
image: pgvector/pgvector:pg17 | |
container_name: nlw-agents-db | |
environment: | |
POSTGRES_USER: docker | |
POSTGRES_PASSWORD: docker | |
POSTGRES_DB: agents | |
ports: | |
- "5432:5432" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Heroi: | |
def __init__(self, nome, idade, tipo): | |
self.nome = nome | |
self.idade = idade | |
self.tipo = tipo | |
def atacar(self): | |
if self.tipo == "mago": | |
ataque = "usou magia" | |
elif self.tipo == "guerreiro": |
- Mover linha para cima/para baixo --> Alt + tecla de direção para cima / Tecla de direção para baixo
- Copiar linha acima/abaixo --> Shift + Alt + tecla de direção para cima / tecla de direção para baixo
- Inserir linha abaixo --> Ctrl + Enter
- Inserir linha acima --> Ctrl + Shift + Enter
- Ir para o colchete correspondente --> Ctrl + Shift + \
- Recuar linha/estender linha até a margem --> Ctrl + ] / [
- Inserir o cursor --> Alt + Clique
- Selecionar a linha atual --> Ctrl + I
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "1ª RODADA", | |
"stadium": { | |
"name": "LUSAIL", | |
"image": "https://digitalinnovationone.github.io/copa-2022-android/statics/lusali-stadium.png" | |
}, | |
"team1": "BR", | |
"team2": "RS", | |
"date": "2022-11-24T19:00:00Z" |