@spiceErrorCheck<EOL>def ekopw(fname):
fname = stypes.stringToCharP(fname)<EOL>handle = ctypes.c_int()<EOL>libspice.ekopw_c(fname, ctypes.byref(handle))<EOL>return handle.value<EOL>
Open an existing E-kernel file for writing.

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

:param fname: Name of EK file.
:type fname: str
:return: Handle attached to EK file.
:rtype: int