"Boa, então nesse projetinho tem partes em kv para montar as telas, mas grande parte da lógica e validação dos dados são em python. Quando concluir o funcionamento básico desse sistema, integrando recebimentos via pix e cartão de crédito via maquininha..."1 tabcoin · 0 comentário · cleitonlc · 6 meses atrás
"Já usei Vue.js que juntamente com python formam uma excelente dupla."2 tabcoins · 0 comentário · cleitonlc · 6 meses atrás
"Tem mais coisa boa aqui https://www.tabnews.com.br/CarlosDGS/python-dicas-uteis-de-f-string-com-python-3-12"1 tabcoin · 0 comentário · cleitonlc · 6 meses atrás
"Vai dizer que também não sabia do operador walrus ??? if (vendas := int(input("Vendas do funcionário: "))) > 1000: bonus = 0.05 * vendas else: bonus = 0 print("Bonus: ", bonus) print("Vendas:", vendas) O operador walrus é um operador especial represent..."1 tabcoin · 4 comentários · cleitonlc · 6 meses atrás
"Entendi o que você está querendo, em resumo a empresa possui uma aplicação rodando em uma máquina local e você precisa acessar isso da sua casa ou de outra rede qualquer. Bom, se fosse algo bobo, uma aplicação apenas para testes e para impressionar ami..."1 tabcoin · 0 comentário · cleitonlc · 7 meses atrás
"Já fiz algo desse tipo, mas usei a formatação de strings antiga do python, substituindo os marcadores na string pelos valores de mesmo nome presentes no dict para formar o html estático e depois converter para pdf. Um exemplo básico: Variável nome = "C..."1 tabcoin · 1 comentário · cleitonlc · 7 meses atrás
"Então,essa lib converte os dados de uma xml da nfce em dados (bytes) de impressão direta no padrão de impressoras térmicas de 80mm. Não converte em pdf por exemplo, pois era exatamente o que eu estava evitando. O que vc precisa é algo para a (Nota gran..."1 tabcoin · 1 comentário · cleitonlc · 7 meses atrás
"Tipo esse retry ??? def retry(ExceptionToCheck, tries=4, delay=3, backoff=2, logger=None): """Retry calling the decorated function using an exponential backoff. http://www.saltycrane.com/blog/2009/11/trying-out-retry-decorator-python/ original from: ht..."2 tabcoins · 1 comentário · cleitonlc · 8 meses atrás
"sim, só usar o comandolpr -P impressoraX -o raw file.txt o arquivo file.txt sendo um arquivo escpos dá tudo certo."2 tabcoins · 0 comentário · cleitonlc · 8 meses atrás
"Tô Nesse dilema Fazer ou não uma faculdade??? Estando já com praticamente 34 anos, sendo um completo autodidata, iniciado na programação aos 20 anos de idade meio que por acaso, na época a curiosidade ao usar um programinha chamado Xbmc que depois mudo..."1 tabcoin · 0 comentário · cleitonlc · 9 meses atrás