Skip to content

Instantly share code, notes, and snippets.

@izikeros
Last active February 22, 2022 10:25
Show Gist options
  • Select an option

  • Save izikeros/34038c8e055143eab6188f59804c0ac4 to your computer and use it in GitHub Desktop.

Select an option

Save izikeros/34038c8e055143eab6188f59804c0ac4 to your computer and use it in GitHub Desktop.
Add parent directory to path. Useful for jupyter notebooks.
# Add parent directory to path
import sys; sys.path.insert(0, '..')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment