[Tutor] getting TypeError: float() argument must be a string or a number

Jerry Hill malaclypse2 at gmail.com
Sat Apr 27 06:17:23 CEST 2013


On Fri, Apr 26, 2013 at 8:05 PM, bob gailer <bgailer at gmail.com> wrote:

>  - Provide some of your program (all of it if not too long) as part of
> the email body.
>

​And if your program is too long to comfortably post in the body of an
email​, there's some great advice about how to trim large amounts of code
down to a sample that demonstrates your problem here: http://sscce.org/

In fact, I've often found this technique useful for general debugging --
trimming a large piece of misbehaving code down to the essentials will
often lead you to seeing your error once some of the surrounding complexity
is removed.

-- 
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130427/dd3b9d8d/attachment.html>


More information about the Tutor mailing list