"lion" wrote: >>>> 2.__abs__() > SyntaxError: invalid syntax Yep. That's because of the Python tokenizer/parser/compiler - whatever is the right term in this case. There were discussions about this in the past here. Try: >>> 2 .__abs__() instead (note the blank after "2").