Debian Codegraph @

07p/demos/python/n-body/clean.auto

raw
1
2 #========================
3 # AUTO Demo python/n-body
4 #========================
5
6 print "\n***Clean the directory***"
7 import glob
8 import os
9 toclean = glob.glob("b.*") + glob.glob("s.*") + glob.glob("d.*")
10 for f in toclean:
11 os.remove(f)
12 cl()