Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try:
- if os.path.isdir(self.aaa):
- shutil.rmtree(self.aaa)
- os.makedirs(self.aaa)
- time.sleep(2)
- except Exception as e:
- print e
- try:
- if os.path.isdir(self.aaa):
- # ファイルコピー処理
- else:
- logger.info(u"まだ生成できていないです")
- except Exception as e:
- print e
Add Comment
Please, Sign In to add comment