예제 #1
0
def printDisk(disk):
    print defrag_disk.formatDisk(disk, headers = True, blockNumbers = True)
예제 #2
0
def saveDisk(disk, filename):
    outFile = open(filename, 'w')
    outFile.write(defrag_disk.formatDisk(disk))
    outFile.close()