Clone the git project
There are a number of files we need to conduct the workshop. By cloning the git repository, you will be able to have a copy of all of the necessary files and functions required to run through the exercises.
- Click the link below to open the Github page.
- Click the green “Code <>” button.
- Click “Download as zip.”
- Unzip the directory to your desktop or working directory.
Google Colab Setup
We will be using Google Colab to run Python code in our browsers. Colab was chosen to ensure all learners have similar processing power (using Google’s servers), and to streamline the setup required for the workshop.
- If you’ve never opened a new Colab notebook, first visit the Google Colab website and click “New notebook” from the pop-up that shows up. When you open your first script, a “Colab Notebooks” folder will automatically be created in Google Drive.
- Visit Google Drive and find a newly created “Colab Notebooks” folder stored under MyDrive,
/My Drive/Colab Notebooks
- Create a folder named
text-analysis
in the Colab Notebooks folder on Google Drive. The path should look like this:/My Drive/Colab Notebooks/text-analysis/
. - Upload the “data” and “code” folders that were downloaded from git (inside the “python-text-analysis-gh-pages” folder) to the “text-analysis” folder you created in Google Drive:
/My Drive/Colab Notebooks/text-analysis/data
and/My Drive/Colab Notebooks/text-analysis/code
- At the start of each episode during the workshop, you can create a fresh Colab notebook within the text-analysis folder by navigating to
/My Drive/Colab Notebooks/text-analysis/
within Google Drive, followed by clickingNew -> More -> Google Colaboratory