Skip to content

gkapfham/pyohio2021-presentation

Repository files navigation

PyOhio 2021 Presentation

Netlify Status

Introduction

Slides created by Gregory M. Kapfhammer for a presentation given at PyOhio 2021. The title of the presentation is "Type Annotations in Python: Terribly Intimidating or Tremendously Informative?". You can watch a YouTube video of the talk or view the live version of the slides.

Installation

To access the GitHub repository that contains the source code for these slides, please follow these instructions provided by GitHub. Once you have cloned the repository to a directory on your computer, please change into it by typing the command cd pyohio2021-presentation from the directory where you clone the repository.

Commands

Now you are ready to view the presentation! To start the slide show:

The slide show also features other building and development options:

  • Typing npm run remote will run an additional server supporting remote access to your laptop. Please see the diagnostic output for the correct address for the server.
  • Typing npm run build will create a production version of the presentation in the form of static HTML
  • Typing npm run export will create a PDF of the presentation.

Please note that, depending on your version of Playwright, the formatting of the PDF-based presentation created by npm run export may vary slightly from the version created by either the npm run dev, npm run remote, or npm run build commands.

Modifying or Adding Slides

You can edit the slides.md in a text editor. If you have a development server running, then it will notice these changes and regenerate the web sited and automatically reload your browser, allowing you to to see the changes. You can learn more about Slidev by visiting its web site.