@spiceErrorCheck<EOL>def dafopr(fname):
fname = stypes.stringToCharP(fname)<EOL>handle = ctypes.c_int()<EOL>libspice.dafopr_c(fname, ctypes.byref(handle))<EOL>return handle.value<EOL>
Open a DAF for subsequent read requests.

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

:param fname: Name of DAF to be opened.
:type fname: str
:return: Handle assigned to DAF.
:rtype: int