Python Convert Object Name To String Function In C