tutorial_1.py 274 B

12345678
  1. def del_create_analytics_folder():
  2. # del the analytics folder including subfolder
  3. # mkdir the analytics folder (only mkdir)
  4. if os.path.exists('analytics'):
  5. shutil.rmtree('analytics')
  6. if not os.path.exists('analytics'):
  7. os.mkdir('analytics')