Skip to content

Conversation

@ethan-pierce
Copy link
Contributor

Adds a new lesson "Scripting and the Shell" to the Python lessons folder. This notebook goes over the basics of shell commands, text editors and IDE's, and includes a short series of exercises on building and running a Python script. It is intended to directly follow lessons on hillslope diffusion and writing functions.

Also replaces the yet_another_oop lesson with a more direct follow-up to the 1D diffusion lessons. This new OOP lesson covers the same material, but uses 2D diffusion as a working example.

@mcflugen
Copy link
Member

mcflugen commented May 5, 2025

@ethan-pierce One thing I use all the time when working in the shell—and wish someone had told me about earlier—is brace expansion (e.g. cp foo.py{,bak}). Maybe this is something that could be listed under "Random tips and tricks"?

@ethan-pierce
Copy link
Contributor Author

Thanks @mcflugen, added to random tips!

@ethan-pierce ethan-pierce requested a review from mdpiper May 5, 2025 19:57
@mdpiper mdpiper merged commit f07f8c6 into main May 5, 2025
11 checks passed
@mdpiper mdpiper deleted the egp-add-lessons branch May 5, 2025 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants