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

Function main

recipes/Python/496893_Tabify/recipe-496893.py:41–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39 os.chmod(filename, mode)
40
41def main():
42 if len(sys.argv) < 2:
43 print "usage: %s file1.py file2.py ..." % sys.argv[0]
44 sys.exit()
45
46 for filename in sys.argv[1:]:
47 tabify(filename)
48
49if __name__ == "__main__":
50 main()

Callers 1

recipe-496893.pyFile · 0.70

Calls 2

tabifyFunction · 0.85
exitMethod · 0.45

Tested by

no test coverage detected