![Can't import custom functions in CoLab Notebook · Issue #1 · DataForGood-Norway/GirlsCanDoIt · GitHub Can't import custom functions in CoLab Notebook · Issue #1 · DataForGood-Norway/GirlsCanDoIt · GitHub](https://user-images.githubusercontent.com/8761928/40872653-265ba018-6652-11e8-8d86-1bb813c52ff3.png)
Can't import custom functions in CoLab Notebook · Issue #1 · DataForGood-Norway/GirlsCanDoIt · GitHub
![SOLVED: import sys sys.path.insert(0, "../..") tokens = ('VAR',) literals = ['=', '+', '-', '*', '/'] def tVAR(t): r'VAR ' return t tignore = " " def tnewline(t): r' +' t.lexer.lineno += t.value.count(" ") SOLVED: import sys sys.path.insert(0, "../..") tokens = ('VAR',) literals = ['=', '+', '-', '*', '/'] def tVAR(t): r'VAR ' return t tignore = " " def tnewline(t): r' +' t.lexer.lineno += t.value.count(" ")](https://cdn.numerade.com/ask_images/1044d4eb8db94a4084dafc08a66e76b5.jpg)
SOLVED: import sys sys.path.insert(0, "../..") tokens = ('VAR',) literals = ['=', '+', '-', '*', '/'] def tVAR(t): r'VAR ' return t tignore = " " def tnewline(t): r' +' t.lexer.lineno += t.value.count(" ")
![Extra modules appended in sys.path are not recogonised by pylint, but work in python. · Issue #2790 · microsoft/pylance-release · GitHub Extra modules appended in sys.path are not recogonised by pylint, but work in python. · Issue #2790 · microsoft/pylance-release · GitHub](https://user-images.githubusercontent.com/96122569/167519815-1d2d63d3-1910-4d84-9053-d77ba2bbcba7.png)
Extra modules appended in sys.path are not recogonised by pylint, but work in python. · Issue #2790 · microsoft/pylance-release · GitHub
![python - Path inserted into sys.path but import module still shows error, what am I missing? - Stack Overflow python - Path inserted into sys.path but import module still shows error, what am I missing? - Stack Overflow](https://i.stack.imgur.com/D75XE.jpg)
python - Path inserted into sys.path but import module still shows error, what am I missing? - Stack Overflow
![Jupyter terminal using different sys.path from Jupyter notebook (running on same server, same conda env) · Issue #3311 · jupyter/notebook · GitHub Jupyter terminal using different sys.path from Jupyter notebook (running on same server, same conda env) · Issue #3311 · jupyter/notebook · GitHub](https://user-images.githubusercontent.com/6844401/35874369-39f8185c-0b64-11e8-9412-1c62f37d9043.png)
Jupyter terminal using different sys.path from Jupyter notebook (running on same server, same conda env) · Issue #3311 · jupyter/notebook · GitHub
![PYTHON : Effect of using sys.path.insert(0, path) and sys.path(append) when loading modules - YouTube PYTHON : Effect of using sys.path.insert(0, path) and sys.path(append) when loading modules - YouTube](https://i.ytimg.com/vi/y0BWhv3jNTc/maxresdefault.jpg?sqp=-oaymwEmCIAKENAF8quKqQMa8AEB-AHUBoAC4AOKAgwIABABGGUgZShlMA8=&rs=AOn4CLAEwtNLJ0EK4Wj8Uq32swpfLu_uTg)