import commands
def send(address, amount):
"""
Send the specified amount to the drip request, time whatever the
coupon code specifies. Uses the following unix command to do so:
sendtoaddress[comment] [comment-to]
The comment arguments are optional, and not currently used.
"""
# Make Shell Command
command = './terracoind sendtoaddress {0} {1}'
command = command.format(str(address), str(amount))
trans_id = commands.getstatusoutput(command)[1]
# Console Message
con_message = "Sent {0} TRC to {1}. Traction ID: {2}"
print(con_message.format(str(amount), address, trans_id))
You are going to have to learn python, how to read in csv(there are enough tutorial for you to figure it out). You will also have to slightly change the command string to the correct command if you are using windows.