from forex_python.bitcoin import BtcConverter

b = BtcConverter()

s = (b.get_latest_price('USD'))/100000000

sats = int(input("How many sats? "))

print (sats*s)

Reply to this note

Please Login to reply.

Discussion

Seems like you’ve imported a forex_python.bitcoin library. Do I need to install that library or just is it included in the default v3 Python installation package?