MCPcopy Create free account
hub / github.com/geekcomputers/Python / returnDir

Function returnDir

recyclebin.py:33–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31
32
33def returnDir(): # Start of the function to search through the recyclebin
34 dirs = ["c:\\Recycler\\", "C:\\Recycled\\", "C:\\$RECYCLE.BIN\\"]
35 # dirs=['c:\\$RECYCLE.BIN\\']
36 for recycleDir in dirs:
37 if os.path.isdir(recycleDir):
38 return recycleDir
39 return None
40
41
42def findRecycled(

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected