Creating Reusable Python Code: From Notebooks to Scripts to Packages

Date
Jan 17, 2024, 3:30 pm5:00 pm
Location
RSVP on My PrincetonU to see location
Audience
Princeton students, graduate students, researchers, faculty, and staff

Details

Event Description
The popularity of Python stems in large part from its convenience for creating quick data analyses in Jupyter notebooks. This workshop will explore how to extend code in such notebooks to make it easier for your colleagues to validate and extend your analyses. We will cover writing simple scripts as well as more complicated tools with command-line interfaces. Time allowing, we will also discuss the benefits of grouping related scripts into packages, and introduce the basics of structuring packages using object-oriented design.

Meet to Facilitator:
Michal Grzadkowski is a Senior Research Software Engineer with Research Computing and ORFE.

Pre-Workshop Directions:
It is recommended that participants use the Adroit training cluster for this workshop. If you do not already have an account on Adroit, you should request one by filling out this form (https://forms.rc.princeton.edu/registration/?q=adroit) at least a few hours before the workshop.

To request accommodations for this event, please contact the workshop or event facilitator at least 3 working days prior to the event.