I'm trying to use my methods, but i always get " <bound method Deltagare.tavla of <__main__.Deltagare instance at 0xfba58>>"

what does it mean? is something wrong with my class?

Recommended Answers

All 3 Replies

When you call it, are you just typing what it's called, or are you typing name(), and adding in any arguements? Note that even if your function or class does not require any arguements, when it's defined, you still need to add () after it, and when called, it should be as name(). Hope this helps :D

Oh thank you SO MUCH for the fast reply!
It's simple i see, but I'm a beginner :)

Hey no problem. I've been coding for the past month, python is my first language. It took me a while to learn that. :D

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.