# The module pyperclip can be downloaded here:
# http://coffeeghost.net/src/pyperclip.py
# save the file as 'pyperclip.py' and keep it in the same directory
# as this code
# Python version, 3.x
import webbrowser
import time
import pyperclip
import subprocess
start = time.clock()
print('This may slow down the computer for a bit, close any tabs for the time being.')
print('Be sure you have a browser already up unless you want a ton of new windows.')
input('Press enter when you are ready.')
openbc = input('Is bitcoin open? >> ')
if openbc == 'y':
print('Okay, going on.')
pass
elif openbc == 'n':
openbc1 = input('Do you want to open it >> ')
if openbc1 == 'y':
subprocess.Popen(r"C:\Program Files (x86)\Bitcoin\bitcoin-qt.exe")
input('Press enter when bitcoin is up.')
time.sleep(3)
pass
elif openbc1 == 'n':
print('Okay, going on.')
pass
print('Opening... ')
url = 'http://www.canhasbitcoin.com/'
webbrowser.open(url)
url2 = 'http://www.faucetbtc.com/'
webbrowser.open(url2)
url3 = 'http://www.elbitcoingratis.es/'
webbrowser.open(url3)
url4 = 'http://www.btc4you.com/'
webbrowser.open(url4)
url5 = 'http://www.freebtc4all.com/'
webbrowser.open(url5)
url6 = 'http://www.virtualfaucet.com/'
webbrowser.open(url6)
url7 = 'http://www.thefreebitcoins.com/'
webbrowser.open(url7)
url8 = 'http://www.freebitcoins.me/'
webbrowser.open(url8)
url9 = 'http://www.thebitcoin.me/'
webbrowser.open(url9)
url10 = 'http://www.rawbitcoins.com/'
webbrowser.open(url10)
url11 = 'http://www.nioctib.net/'
webbrowser.open(url11)
url12 = 'http://www.greencoins.org/'
webbrowser.open(url12)
url13 = 'http://www.btcmine.net'
webbrowser.open(url13)
url14 = 'http://www.freebitcoinlottery.com/'
webbrowser.open(url14)
url15 = 'http://www.bitcats.net/'
webbrowser.open(url15)
url16 = 'http://www.bitcoinspain.net/'
webbrowser.open(url16)
url17 = 'http://www.bitcoins4free.me/'
webbrowser.open(url17)
url18 = 'http://www.freeBitcoins4U.com/'
webbrowser.open(url18)
url19 = 'http://www.fr33Bitcoins.com/'
webbrowser.open(url19)
print('\nCopying faucet BTC address to clipboard.')
# Enter your bitcoin address in the correct spot
pyperclip.copy('[Enter your bitcoin address here')
spam = pyperclip.paste()
time.sleep(1)
print('Done.')
elapsed = (time.clock() - start)
print(elapsed)
# Donate to 14LaojeCXkrQ19kYNSAp1qJT923gSQ6hH3 for more excellent programs