Python vector2 - Programming On Unix
Users browsing this thread: 1 Guest(s)
|
|||
return "".join([str(self.x), ", ", str(self.y)])
is also equivalent to [str(self.x)+","+str(self.y)] . No use for the join I believe. Also, manipulating arrays,tupple, dictionaries is easy in python so there's no real need for this kind of module. Anyway, if you are used to manipulate them this way then it's ok. |
|||
Messages In This Thread |
Python vector2 - by vompatti - 04-01-2013, 06:22 AM
RE: Python vector2 - by venam - 04-01-2013, 06:52 AM
RE: Python vector2 - by vompatti - 04-01-2013, 07:08 AM
|