All pastes #484528 Raw Edit

shriphani

public python v1 · immutable
·published 2007-05-12 08:24 UTC
rendered paste body
import commandsindex = 1 for i in range(2): dir = "usbdisk" + str(index) string = commands.getoutput('mkdir %s' % dir) if string == "":  break else:  index = index + 1print 'done'