@spiceErrorCheck<EOL>def tpictr(sample, lenout=_default_len_out, lenerr=_default_len_out):
sample = stypes.stringToCharP(sample)<EOL>pictur = stypes.stringToCharP(lenout)<EOL>errmsg = stypes.stringToCharP(lenerr)<EOL>lenout = ctypes.c_int(lenout)<EOL>lenerr = ctypes.c_int(lenerr)<EOL>ok = ctypes.c_int()<EOL>libspice.tpictr_c(sample, lenout, lenerr, pictur, ctypes.byref(ok), errmsg)<EOL>return stypes.toPythonString(pictur), ok.value, stypes.toPythonString(<EOL>errmsg)<EOL>
Given a sample time string, create a time format picture
suitable for use by the routine timout.

http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/tpictr_c.html

:param sample: A sample time string.
:type sample: str
:param lenout: The length for the output picture string.
:type lenout: int
:param lenerr: The length for the output error string.
:type lenerr: int
:return:
        A format picture that describes sample,
        Flag indicating whether sample parsed successfully,
        Diagnostic returned if sample cannot be parsed
:rtype: tuple