Skip to content

Commit b2a1edd

Browse files
committed
Converter Python to JuypterNotebook
1 parent c1ede62 commit b2a1edd

2 files changed

Lines changed: 68 additions & 0 deletions

File tree

content/tmf8829/zeromq/__init__.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
"ZeroMQ server and client."
2+
3+
import os
4+
import sys
5+
6+
TOF_PYTHON_ROOT_DIR = os.path.normpath(os.path.dirname(__file__) + "/..")
7+
"""Change this path depending on the relative path between this file and the TOF python root dir."""
8+
9+
if TOF_PYTHON_ROOT_DIR not in sys.path:
10+
sys.path.append(TOF_PYTHON_ROOT_DIR)
11+

0 commit comments

Comments
 (0)