Line 12: | Line 12: | ||
#[http://prancer.physics.louisville.edu/astrowiki/index.php/Very_simple_Python Very simple Python] | #[http://prancer.physics.louisville.edu/astrowiki/index.php/Very_simple_Python Very simple Python] | ||
##[http://prancer.physics.louisville.edu/astrowiki/index.php/Very_simple_Python#Installing_Python_on_your_computer Installing it on your computer] | ##[http://prancer.physics.louisville.edu/astrowiki/index.php/Very_simple_Python#Installing_Python_on_your_computer Installing it on your computer] | ||
− | ## | + | ##[http://prancer.physics.louisville.edu/astrowiki/index.php/Very_simple_Python#IDE.27s_and_Editors_and_Python_environments Editors and environments] |
− | [http://prancer.physics.louisville.edu/astrowiki/index.php/Very_simple_Python#IDE.27s_and_Editors_and_Python_environments Editors and environments] | + | ##[http://prancer.physics.louisville.edu/astrowiki/index.php/Very_simple_Python#Using_Python_in_real_time Using it in real time] |
− | ## | ||
− | [http://prancer.physics.louisville.edu/astrowiki/index.php/Very_simple_Python#Using_Python_in_real_time Using it in real time] | ||
##[http://prancer.physics.louisville.edu/astrowiki/index.php/Very_simple_Python#Using_Python_code_as_a_standalone_program Using code as a standalone program] | ##[http://prancer.physics.louisville.edu/astrowiki/index.php/Very_simple_Python#Using_Python_code_as_a_standalone_program Using code as a standalone program] | ||
##[http://prancer.physics.louisville.edu/astrowiki/index.php/Python_examples Examples] | ##[http://prancer.physics.louisville.edu/astrowiki/index.php/Python_examples Examples] |
The Python programming language is a widely used tool for basic research and engineering. Its rapid rise in popularity is supported by comprehensive, largely open-source, contributions from scientists who use it for their own work. This short course offers an introduction to Python with examples drawn from physics and astronomy.
This resource was developed as part of a full semester
Research Methods class. Various examples that may be useful for
developing small Python programs are collected here. They are a basis for a few exercises that were assigned during the course are are available here.
The topics and examples cover --
These topics may be added to a longer version of this course or as working notes when time allows.