Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (8 sloc) 237 Bytes
import sys
sys.path.append('..')
from pyodm import Node, exceptions
node = Node.from_url("http://localhost:3000?token=abc")
try:
print(node.info())
except exceptions.NodeConnectionError as e:
print("Cannot connect: " + str(e))
You can’t perform that action at this time.