Added ToPythonAs() extension method for explicit conversion using an arbitrary type
#2419
+39
−1