MCPcopy Create free account
hub / github.com/ActiveState/code / save_disk

Function save_disk

recipes/Python/492215_diskdemopy/recipe-492215.py:81–90  ·  view source on GitHub ↗
(disk)

Source from the content-addressed store, hash-verified

79 print 'INVALID FILENAME'
80
81def save_disk(disk):
82 while True:
83 try:
84 print
85 print 'SAVE THE DISK'
86 name = raw_input('FILENAME: ')
87 disk.dump(name)
88 break
89 except:
90 print 'INVALID FILENAME'
91
92################################################################################
93

Callers 1

loopFunction · 0.85

Calls 1

dumpMethod · 0.45

Tested by

no test coverage detected