All,<br><br>I was showing a co-worker some python today (using the trunk) when I stumbled upon this. I was not sure what to think since I have never really experimented with using spaces like this. So here tis. Be careful to notice the spaces as they are significant here.
<br><br>>>> 1.3.__str__()<br>'1.3'<br><br>>>> 1.3 .__str__()<br>'1.3'<br><br>>>> a = " somestring "<br><br>
>>> a .split()<br>
['somestring']<br><br>
>>> a. split()<br>
['somestring']<br><br><br>Cool I suppose, except here's an odd man out:<br><br>>>> 1.__str__()<br>
File "<stdin>", line 1<br>
1.__str__()<br>
^<br>
SyntaxError: invalid syntax<br>
<br>
>>> 1 .__str__()<br>
'1'<br><br>Joseph Armbruster