[Python] Use internalCommand in PythonExpression.

Authored by sirgienko on Dec 7 2018, 9:06 AM.