Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FreeOpcUa/python-opcua
/ embed
Function
embed
examples/server-events.py:10–14 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
8
import
code
9
10
def
embed():
11
vars = globals()
12
vars.update(locals())
13
shell = code.InteractiveConsole(vars)
14
shell.interact()
15
16
from
opcua
import
ua, Server
17
Callers
1
server-events.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected