A framework is a code library that simplifies the development of web applications by providing reusable code for common operations.
Python has several frameworks, including Flask, Tornado, Pyramid, and Django.