[portland] numarray
Ethan Furman
ethan at stoneleaf.us
Sat Mar 13 18:47:50 CET 2010
Ryan Arana wrote:
> [snip]
> Why would you use line.__str__() instead of str(line) ?
> [/snip]
>
> Mostly because I'm a Python Noob, and dir(line) reminded me about its
> __str__() method. And I did note that this wasn't the best way to do it,
> just that it'd work. Now I know about str(line) though, so thanks!
That's a good reason! :) And you're welcome!
Python is a great language, I hope you like it.
~Ethan~
More information about the Portland
mailing list