Skip to content

Latest commit

 

History

History
49 lines (24 loc) · 1.67 KB

0625_Python.md

File metadata and controls

49 lines (24 loc) · 1.67 KB

Python Basics

Some comments

Based on the survey that you filled out, most of you have at least some experience with python, and some of you have quite a bit of of exprience.

I want to re-iterate the point I made Tuesday, that you are each other's best resource.

If you want to know how to do something, or why something isn't working, and you are stuck after a bit of trying, then ask your fellow students.

Conversely, even if you are quite proficient at something, you can still really improve your understand by teaching it to others. And it is always good to pratice explaining things clearly, that is really a core skill for scientists.

Goals

This is mainly some demonstrations of some basic python code and functions, and some tools to find your way around in python.

Resources and links

There are a great many resources out there to start learning python. Some of them are simple and clear, some are quite techinical. I just recommend you do a web search and find one that works for you.

The google tutorial is a decent mix of technical and simple.

Stuff to do ahead of time

Make sure that you can run jupyter notebooks on your computer.

Make sure that you can start a terminal and run python from it.

Activities and demos

Running Basic python notebook

Running python data structures notebook

Starting a terminal and running python in the terminal.

Running python scripts from a terminal.

If time permits: Running numpy and matplotlib notebook