Python Call Class Using String Stream