How to create a transaction input from tx id of UTXO?
TxInput is a class used in this example to define the input used for creating a transaction.
You can download and install Atom Editor.
Install script package to run python code in atom.
Download and Install Python.
Install bitcoin-utils library: $ pip install bitcoin-utils