Python Parse Time String Python Functions With Parameters In C