This is example Python code to create a Bitcoin transaction from scratch and push it out to the Bitcoin network. I don't recommend actually using this code; it's purely for example.