Book Image

Sage Beginner's Guide

By : Craig Finch
1 (1)
Book Image

Sage Beginner's Guide

1 (1)
By: Craig Finch

Overview of this book

Table of Contents (17 chapters)
Sage Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Introducing Python decorators


We need to take a little detour here to introduce one of the newer features of the Python language: the Python decorator. This is not an implementation of the "decorator" design pattern, although the concepts are similar. We'll need decorators to implement the interactive graphics that will be introduced in the next section.