Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions code/scripts/run.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import sys
sys.path.insert(0,'/code/src'). #the 0 means ... do this in order, this first (I guess highest priority if have multiple variables or functions named the same thing)
from package.module import variable #that is tricky! here the .module seems to mean subfolder. Apparently sometimes use the . to indicate linking to a function within module as well
print(variable)
Empty file added code/src/package/__init__.py
Empty file.
2 changes: 2 additions & 0 deletions code/src/package/module.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

variable="heeeeelp!"