Coverage for pySDC/projects/Second_orderSDC/check_data_folder.py: 0%

4 statements  

« prev     ^ index     » next       coverage.py v7.6.9, created at 2024-12-20 14:51 +0000

1import os 

2 

3folder_name = "./data" 

4 

5# Check if the folder already exists 

6if not os.path.isdir(folder_name): 

7 # Create the folder 

8 os.makedirs(folder_name) 

9else: 

10 pass