@spiceErrorCheck<EOL>def spkopa(filename):
filename = stypes.stringToCharP(filename)<EOL>handle = ctypes.c_int()<EOL>libspice.spkopa_c(filename, ctypes.byref(handle))<EOL>return handle.value<EOL>
Open an existing SPK file for subsequent write.

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

:param filename: The name of an existing SPK file.
:type filename: str
:return: A handle attached to the SPK file opened to append.
:rtype: int