def dskopn(fname, ifname, ncomch):
    """
    Open a new DSK file for subsequent write operations. 
    
    https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/dskopn_c.html
    
    :param fname: Name of a DSK file to be opened. 
    :type fname: str
    :param ifname: Internal file name.
    :type ifname: str
    :param ncomch: Number of comment characters to allocate. 
    :type ncomch: int
    :return: Handle assigned to the opened DSK file.
    :rtype: int
    """
    fname = stypes.stringToCharP(fname)
    ifname = stypes.stringToCharP(ifname)
    ncomch = ctypes.c_int(ncomch)
    handle = ctypes.c_int()
    libspice.dskopn_c(fname, ifname, ncomch, ctypes.byref(handle))
    return handle.value
def dskopn ( fname , ifname , ncomch ) : fname = stypes . stringToCharP ( fname ) ifname = stypes . stringToCharP ( ifname ) ncomch = ctypes . c_int ( ncomch ) handle = ctypes . c_int ( ) libspice . dskopn_c ( fname , ifname , ncomch , ctypes . byref ( handle ) ) return handle . value
Open a new DSK file for subsequent write operations. 
    
    https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/dskopn_c.html
    
    :param fname: Name of a DSK file to be opened. 
    :type fname: str
    :param ifname: Internal file name.
    :type ifname: str
    :param ncomch: Number of comment characters to allocate. 
    :type ncomch: int
    :return: Handle assigned to the opened DSK file.
    :rtype: int