mgeier / homepage

my "homepage" at readthedocs.org
https://mg.readthedocs.io/
Creative Commons Zero v1.0 Universal
37 stars 10 forks source link

comments:importing_local_python_modules_from_jupyter_notebooks_sys_path_in_notebook_path_notebook #12

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

Manipulating sys.path in the Notebook — homepage

https://mg.readthedocs.io/importing-local-python-modules-from-jupyter-notebooks/sys-path-in-notebook/path-notebook.html

Jack-e-metron commented 2 years ago

running this is giving me SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape

mgeier commented 2 years ago

Does your path contain some "strange" characters?

Jack-e-metron commented 2 years ago

no, only alphanumerics, I was able to find a different workaround to my issue though