Search Result

Collapse
3 results in 0.0014 seconds.
Keywords
Members
Tags
unbound method
  •  

  • 360monkey
    started a topic calling a function from a module in a class

    calling a function from a module in a class

    I recently tried to start learning GUI for python, and reverted back to python 2.6.4

    my question:

    in python 3.1.1,:
    >>>import title
    >>>title.class. function()
    >>>running program

    in python 2.6.4:
    >>>import title #working fine
    >>>title.class. function()
    then I get this:
    unbound method must be called with class...
    See more | Go to post

  • true911m
    started a topic Unbound method? What's that?

    Unbound method? What's that?

    Can someone give me a quick rundown on the difference between bound and unbound methods? I ran into an error regarding an unbound method, and found lots of discussions about changing Python behavior regarding them, but haven't come across these descriptions in any of my reading material so far.

    Thanks!
    See more | Go to post

  • TypeError: unbound method PrintInput() must be called with test instance as first argument (got test instance instead)

    Hi,

    I am trying to call an unbound method (PrintInput) with the object
    instance as the first argument but getting the following error:
    "TypeError: unbound method PrintInput() must be called with test
    instance as first argument (got test instance instead)"

    Below is the sample code (test) for this purpose (two files).

    Any help is greatly appreciated.

    Thanks in Advance,...
    See more | Go to post
Working...