“Functions and modules” is a chapter of Python for scientific computing.