#!/usr/bin/python
import sys
import os
import shutil
import time
import re
def ClearDir ( dir1 ):
global _debug_
if _debug_:
print( "Deleting all in " + dir1 )
tfs = os.listdir( dir1 )
if len(tfs) > 0:
print( "Warning: there are files in ", dir1, ", will be deleted" )
for tf in tfs:
os.remove( os.path.join(dir1, tf) )
def MoveAllToTmp ( PdgDir, TmpDir1 ):
2022-11-01 11:22:55
45KB
pdg
pdf
1