Update ppi.py

This commit is contained in:
Satoshi Nakamoto 2021-11-24 19:51:19 +01:00 committed by GitHub
parent 06ae144ba6
commit 56aaf3ee43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

21
ppi.py
View file

@ -242,6 +242,25 @@ def bwtConn():
#-----------------------------END bwt.dev--------------------------------
#-----------------------------Stats--------------------------------
def bwtConn():
try:
clear()
blogo()
closed()
conn = "curl -s https://www.bitcoinblockhalf.com/ | html2text | grep -E "Total" -A 9 | grep -v -E "\--""
a = os.popen(conn).read()
clear()
blogo()
closed()
print(a)
input("\a\nContinue...")
except:
pass
#-----------------------------END Stats--------------------------------
#-----------------------------wttr.in--------------------------------
def wttrDataV1():
try:
@ -402,6 +421,7 @@ def rateSXList():
THB Thai baht
TRY Turkish lira
TWD New Taiwan dollar
USD Dollar
-------------------------------------------
"""
print(fiat)
@ -453,6 +473,7 @@ def rateSXGraph():
THB Thai baht
TRY Turkish lira
TWD New Taiwan dollar
USD Dollar
-------------------------------------------
"""
print(fiat)