mirror of
https://github.com/curly60e/pyblock.git
synced 2026-08-19 13:18:13 +02:00
Update ppi.py
This commit is contained in:
parent
06ae144ba6
commit
56aaf3ee43
1 changed files with 21 additions and 0 deletions
21
ppi.py
21
ppi.py
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue