8 lines
128 B
Python
8 lines
128 B
Python
import glob
|
|
import os
|
|
|
|
path='class'
|
|
os.chdir(os.getcwd()+'/'+path)
|
|
for filename in glob.glob('*.java'):
|
|
os.remove(filename)
|