parameters: (self, newPath)
docstring: Make a copy of this wallet with only the public key and chain code.
docstring_summary: Make a copy of this wallet with only the public key and chain code.
docstring_tokens: Make a copy of this wallet with only the public key and chain code .
function: def writePKCCFile(self, newPath):
        '''Make a copy of this wallet with only the public key and chain code.'''
        # Open the PKCC file for writing.
        newFile = open(newPath, 'wb')
  
        # Write the data to the file. The file format is as follows:
        # PKCC data format version  (UINT8)
        # Root ID  (VAR_STR)
        # Number of PKCC lines  (UINT8)
        # PKCC lines  (VAR_STR)
        outRootIDET16, outPKCCET16Lines = self.getRootPKCCBackupData(True)
        newFile.write(str(PYROOTPKCCVER) + '\n')
        newFile.write(outRootIDET16 + '\n')
        for a in outPKCCET16Lines:
           newFile.write(a + '\n')
  
        # Clean everything up.
        newFile.close()
function_tokens: def writePKCCFile ( self , newPath ) : # Open the PKCC file for writing. newFile = open ( newPath , 'wb' ) # Write the data to the file. The file format is as follows: # PKCC data format version  (UINT8) # Root ID  (VAR_STR) # Number of PKCC lines  (UINT8) # PKCC lines  (VAR_STR) outRootIDET16 , outPKCCET16Lines = self . getRootPKCCBackupData ( True ) newFile . write ( str ( PYROOTPKCCVER ) + '\n' ) newFile . write ( outRootIDET16 + '\n' ) for a in outPKCCET16Lines : newFile . write ( a + '\n' ) # Clean everything up. newFile . close ( )