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

Function getDir

recipes/Python/271246_pyAlbumpy/recipe-271246.py:345–350  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

343 from PIL import Image
344
345 def getDir():
346 global dirName
347 dirName = raw_input("Enter the directory to read images from (absolute path): ")
348 if(not(os.path.isdir(dirName))):
349 print "Directory does not exist!"
350 getDir()
351 getDir()
352
353 title = raw_input("Enter a title for the album: ")

Callers 1

recipe-271246.pyFile · 0.85

Calls 1

isdirMethod · 0.80

Tested by

no test coverage detected