Instructor Notes


Tips and Tricks, Common Problems, Items of Note


Making a handout

To make a handout for this lesson, adapt/print from https://librarycarpentry.org/lc-data-intro/reference.


Regular Expressions

To teach regular expressions, instructors have used:

  • slides to quiz the audience on examples.
  • Pen and paper, to work through exercises before using a tool and to explain that there can be multiple answers to the same question.
  • Whiteboard with text examples and quized participants on regex approaches.
  • Online tools such as: Regxr, regex101, rexegper, myregexp, or whichever service you prefer.
  • Used quiz/exercise files in episodes/files.

General guidance:

  • Due to time constraints, it is best to choose the exercises that match the needs of the local community that will be attending the workshop.
  • Point to lesson quiz and exercises for additional practice/homework.

Regular Expressions


Choose how to teach this section

The section on generative AI is intended to be concise but Instructors may choose to devote more time to the topic in a workshop. Depending on your own level of experience and comfort with talking about and using these tools, you could choose to do any of the following:

  • Explain how large language models work and are trained, and/or the difference between generative AI, other forms of AI that currently exist, and the limits of what LLMs can do (e.g., they can’t “reason”).
  • Demonstrate how you recommend that learners use generative AI.
  • Discuss the ethical concerns listed below, as well as others that you are aware of, to help learners make an informed choice about whether or not to use generative AI tools.

This is a fast-moving technology. If you are preparing to teach this section and you feel it has become outdated, please open an issue on the lesson repository to let the Maintainers know and/or a pull request to suggest updates and improvements.



Matching & Extracting Strings


Multiple Choice Quiz


Exercises