Home | History | Annotate | Download | only in Lib

Lines Matching refs:filename

17 def whichdb(filename):
32 f = open(filename + os.extsep + "pag", "rb")
36 f = open(filename + os.extsep + "dir", "rb")
43 f = open(filename + os.extsep + "db", "rb")
49 d = dbm.open(filename)
58 os.stat(filename + os.extsep + "dat")
59 size = os.stat(filename + os.extsep + "dir").st_size
63 f = open(filename + os.extsep + "dir", "rb")
74 f = open(filename, "rb")
116 for filename in sys.argv[1:]:
117 print whichdb(filename) or "UNKNOWN", filename