import glob, os
test = '/path/*'
r = glob.glob(test)
for i in r:
os.remove(i)
Go to list of users who liked
More than 5 years have passed since last update.
import glob, os
test = '/path/*'
r = glob.glob(test)
for i in r:
os.remove(i)
Register as a new user and use Qiita more conveniently
Go to list of users who liked