File: clean.auto

package info (click to toggle)
auto-07p 0.9.1%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 16,200 kB
  • sloc: fortran: 22,644; f90: 19,340; python: 19,045; ansic: 11,116; sh: 1,079; makefile: 618; perl: 339
file content (26 lines) | stat: -rw-r--r-- 315 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

#==============
# AUTO Demo fnc
#==============
import os, glob

pgm = "fnc"

cd("attr")
auto("clean.auto")
cd("..")

cd("rep")
auto("clean.auto")
cd("..")

dl("attrrep")
for i in [3,4,5,6,7,8]:
    dl("xi"+str(i))
dl("xis")

for f in glob.glob("*.eps"):
    os.remove(f)

print "\n***Clean the directory***"
cl()