The objective of this course unit is to show how one can use the high-level, general-purpose programming language Python to solve typical challenges encountered in the energy sector. The course builds on examples such as the analysis of seismic data (1D traces) or images (2D).