@spiceErrorCheck<EOL>def namfrm(frname):
frname = stypes.stringToCharP(frname)<EOL>frcode = ctypes.c_int()<EOL>libspice.namfrm_c(frname, ctypes.byref(frcode))<EOL>return frcode.value<EOL>
Look up the frame ID code associated with a string.

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

:param frname: The name of some reference frame.
:type frname: str
:return: The SPICE ID code of the frame.
:rtype: int