0

Hello All! I ran across a bit of code that I wanted to try. In this code it had a line reading, "orig = POINT()" When I tried to run I got this error: NameError: name 'POINT' is not defined. This led me to believe that I didn't have the right module installed. So i went looking around for the right module and can't find it! So if anyone knows the module or if I'm crazy and need to do something entirely different please tell me. Basically I need to know about the POINT() data strucure.

Thank you for looking at this thread and for your time,

Hawkpath

3
Contributors
4
Replies
5
Views
7 Years
Discussion Span
Last Post by Beat_Slayer
0

I might be wrong, but I believe with may be talking about this.

If it is, you are a litle bit confused, since point is not a data structure, the namedtuple is the data structure you are searching for.

congrats

0

Ugh! I feel like an idiot. It turns out that POINT was a user-made class in the program. I'm sorry for wasting your time. :(

Thank you and sorry,


Hawkpath

Edited by Hawkpath: I'm an idiot :(

0

No need to sorry about that.

We all have doubts, and can get confused sometimes.

I was reading that yesterday, thats why it came so fast to me. :)

You can mark as solved.

lol

Happy coding.

Edited by Beat_Slayer: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.