Commit bacd3d05 authored by Olivier R-D's avatar Olivier R-D

do not require ipython in example files

parent ae601b08
import logging
import time
try:
from IPython import embed
except ImportError:
import code
def embed():
vars = globals()
vars.update(locals())
shell = code.InteractiveConsole(vars)
shell.interact()
from opcua import Client
from opcua import uaprotocol as ua
......@@ -17,7 +28,6 @@ class SubHandler(object):
if __name__ == "__main__":
from IPython import embed
logging.basicConfig(level=logging.WARN)
#logger = logging.getLogger("KeepAlive")
#logger.setLevel(logging.DEBUG)
......
import time
import logging
try:
from IPython import embed
except ImportError:
import code
def embed():
vars = globals()
vars.update(locals())
shell = code.InteractiveConsole(vars)
shell.interact()
from opcua import ua, uamethod, Server, Event, ObjectIds
from IPython import embed
class SubHandler(object):
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment