Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

How to Upload Your Python File into Jupyter Notebook/JupyterLite

If you have a .py file you’d like to use in your JupyterHub environment (e.g., from your local computer or a previous project), follow these steps to upload it.

  1. After logging into JupyterHub, click the Upload icon at the top left.

Screenshot showing the Upload icon highlighted
  1. Select your .py file from your local computer.

Screenshot showing the Finder popup opened to browse local files
  1. After upload, it will appear in your file list.

Screenshot showing the Jupyter editor open with the selected file displayed