Do import math first I.e type import math You could also do from math import pi Provided pi is the only function u need in the math module. from math import * This imports every function of the math module. HTH Sent from my BlackBerry wireless device from MTN
-----Original Message----- From: David Merrick <[email protected]> Sender: [email protected] Date: Thu, 26 May 2011 16:21:01 To: <[email protected]> Subject: [Tutor] PI _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
