Skip to content
murmot

Results for “python examples programiz code error site:mail.python.org message”

  • mail.python.org

    [Tutor] Problem with running Python

    If you want to get the most out of this list, it helps to ask very specific questions, showing what you have tried so far to figure out your problem, with what results. Including examples of your actual code and actual error messages is enormously helpful. >

  • mail.python.org

    [Tutor] Problem with Learning Python example

    First, let's look at the error message again: > Traceback (most recent call last): > File "timings.py", line 16, in ? > do_timing(100, (makezeros.lots_of_appends, makezeros.one_multiply)) > File "timings.py", line 9, in do_timing > apply(func) > TypeError: 'tuple' object is not callable.

  • mail.python.org

    [Tutor] More problems with Learning Python example

    The logic error is that 'func' is being reused in a way that isn't clear. There's several nested loops that look a bit unusual. Let me cut out the particularly funky sectionI'm still a little shocked that Learning Python would have such code, though. Can anyone double check this?