Convert python to any