function overloading is a goog idea. It's really the only thing I miss in python. But then it must be possible to check different data-types (like in C++). def foo( (int)a ): print a, "is a int" def foo( (float)a ): print a, " is a float" def foo( a ): print "I'm not interested in the type of a. I'm the really true pythonfuction."