from bitcoinrpc.authproxy import AuthServiceProxy, JSONRPCException

# rpc_user and rpc_password are set in the bitcoin.conf file

rpc_user="shhwallet"
rpc_password="terrificlion593Jamo0202"
rpc_connection = AuthServiceProxy("http://%s:%s@127.0.0.1:8333"%(rpc_user, rpc_password))
print(rpc_connection.getinfo())

