We've learned the general thought processes and the syntax needed to design our own classes, and organize them in modules and packages. In the following example, we're going to move away from our combat simulation and construct some simple test classes to further illustrate how Python classes work. The purpose of these examples is to demonstrate some behavior that may seem strange and cause your programs to behave in unexpected ways if you don't understand the underlying principles.
Sage Beginner's Guide
By :
Sage Beginner's Guide
By:
Overview of this book
Table of Contents (17 chapters)
Sage Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
What Can You Do with Sage?
Installing Sage
Getting Started with Sage
Introducing Python and Sage
Vectors, Matrices, and Linear Algebra
Plotting with Sage
Making Symbolic Mathematics Easy
Solving Problems Numerically
Learning Advanced Python Programming
Where to go from here
Index
Customer Reviews