Computational Physics

Computational Physics

The following are resources for introductory computational Physics, using Jupyter Notebooks.

Most of the links are downloadable files, whose type may be identified by the extension (see File Extensions, below).

To learn how to use the Jupyter Notebooks, see the resource links at the bottom of the page.


Jupyter Notebooks


File Extensions

A file extension is the last few letters after “.” in a computer file name. It identifies the type of file. Files with the following extensions should be familiar to scientists and engineers:

<filename>.ipynb

IPython Notebook – This file must be opened in the Jupyter notebook, where you can edit and execute the code.

<filename>.html

Hypertext Markup Language – This is a web page (like the one you’re reading now). If you click a link to an html file the browser will render it as a web page. You will not be able to directly edit its contents.

<filename>.py

Python – This file contains only Python code. It can be imported into a notebook or another Python program.

<filename>.md

Markdown – This is text that can be converted to HTML. Markdown formatting is also used in the Jupyter notebooks. Try it here.

<filename>.pdf

Portable Document Format – A format used for nice presentation of documents. You cannot edit these files without special software.

<filename>.csv

Comma Separated Values – A simple (text-based) format for spreadsheet data.

<filename>.txt

Text – This file can be edited by a text editor; it is not recognized as code. Sometimes when saving an ipynb file a .txt extension will be added; the file cannot be read by Jupyter until the .txt extension is removed from the file name.

<filename>.png

Portable Network Graphics – An image format suitable for diagrams and plots. Not so good for photographs (for that use .jpg).


Resources

Getting Started

Python Language


Last modified: December, 2025.