Using
Python with seismic data
Lesson 1: Thonny IDE
I use Thonny IDE for Python programming and recommend
it to students. Another popular option is Anaconda, but it is not as simple as Thonny.
1) install Thonny from https://thonny.org
2) File | New to create the hello.py program
3) Save
4) Run
1) Thonny is an IDE: https://en.wikipedia.org/wiki/Integrated_development_environment…
2) # starts a comment, non-executable explanatory notes for coders.
3) print() is a built-in function, which this script is calling.
4) "Hello World" is an argument passed to the function for processing.
Links
This lesson on Twitter:
https://twitter.com/wmvanstone/status/1251041515180298240
Download the code: https://github.com/wmvanstone/LearnPythonForObspy
The obspy tutorial: https://docs.obspy.org/tutorial/
Lesson 2: python02.html
Links: Links
Home: Index