I have a script to convert sats to dollars. You'd be amazed at how often I have to use this.

Reply to this note

Please Login to reply.

Discussion

from forex_python.bitcoin import BtcConverter

b = BtcConverter()

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

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

print (sats*s)

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?

I have an app that puts this right on my home screen

I made an app that does this for you - it’s on TestFlight! #[3]​

https://milou.lol

wen android? 😁