There are some other Python statements that can be used within applications as well, but they are probably better meant to be discussed within a later chapter as they provide more advanced functionality. The following is a listing of other Python statements which you will read more about later on:
exec—Execute Python code in a dynamic fashion global—References a variable a global (Chapter 4)
with—New feature in 2.5 using_future_
class—Create or define a new class object (Chapter 6) yield—Used with generators, returns a value (Chapter 4)
Was this article helpful?