I would be deeply grateful if someone would offer me a python script for my situation:
I have an electrum wallet with balances on three different private keys.
I'd like to take the balance from just one private key and send it elsewhere. This is made easier, perhaps, because that entire balance arrived in just one transaction.
Please help?
If it works, I'll offer a small token of gratitude -- 0.02 btc.
I don't have a python script for that, but there is an easy way to achieve what you want with the Electrum Client.
In your Receive tab, locate the addresses that you
don't want to send bitcoins from. Right-click on each address and select Freeze. Leaving only the one you want to send from, in the "unfrozen" state. Send you transaction, like normal. Electrum will only take from the unfrozen address(es). If you don't spend all the content of the address, it will return you some change in a new address. Ensure that you deduct the network transaction fees correctly before sending. The number should turn red if the total exceed the amount in your address (not enough funds).
When you are done - unfreeze the other addresses.
1AQjoN1Z9JepYUL6XYaTAHtHwPjR8rsiH2
Thank you, sir! Worked like a charm. What a cool little feature.
Your gratuity has been sent. I'm also going to PM you a few coupons for block777.com.