making the (software) world better than complex
Subscribe to my newsletter and never miss my upcoming articles
Você provavelmente já ouviu a seguinte frase: Strings no Python são objetos imutáveis! E foi correndo para o seu terminal escrever o seguinte código: palavra = "abc" palavra = "def" print(palavra) # Imprime "def" Talvez tenha se perguntado por qu...
Python futures (concurrency) tl;dr; Using concurrency to speed up things is quite simple in Python using the concurrent.futures module. However, it's no silver bullet and one must know when to use it. All started with generators... In a previous p...
The previous post demonstrated how to write a simple smart contract with Solidity and deploy it to the Ethereum Blockchain. This tutorial will show how to update the contract to save some data in the blockchain as well as how to inspect the blockchai...
In this tutorial, we'll write a simple smart contract, deploy it to a personal Ethereum blockchain, and call the contract from a Python script. What you need to have installed before we proceed: Python3 v3.5.3 or later, I had some issues using versi...
I've been using Python Generators for a while now, having to deal with large Django Querysets, reading large Excel files, and being able to save memory by using generators became part of my day to day work. However, these days I faced a different pro...