Open srappel opened 2 weeks ago
helpers.py module is not accessible if it's in the "text-analysis/code" directory unless either...
1) the code directory is added to sys path e.g. sys.path.insert(0, '/content/drive/My Drive/Colab Notebooks/text-analysis/code')
sys.path.insert(0, '/content/drive/My Drive/Colab Notebooks/text-analysis/code')
2) helpers.py is moved from the code directory into the text-analysis dir.
This is an optional method used first here:
https://carpentries-incubator.github.io/python-text-analysis/03-preprocessing/index.html#loading-data-into-python
Or I guess we can just make the wksp_dir look at the code directory instead of text-analysis
wksp_dir = '/content/drive/My Drive/Colab Notebooks/text-analysis/code'
helpers.py module is not accessible if it's in the "text-analysis/code" directory unless either...
1) the code directory is added to sys path e.g.
sys.path.insert(0, '/content/drive/My Drive/Colab Notebooks/text-analysis/code')
2) helpers.py is moved from the code directory into the text-analysis dir.
This is an optional method used first here:
https://carpentries-incubator.github.io/python-text-analysis/03-preprocessing/index.html#loading-data-into-python