diff --git a/ScriptDeaf/MultiAll.py b/ScriptDeaf/MultiAll.py index 9c901c5..0f231f8 100644 --- a/ScriptDeaf/MultiAll.py +++ b/ScriptDeaf/MultiAll.py @@ -6,8 +6,14 @@ import matplotlib.pyplot as plt import pandas as pd import pylab -n = 10 #количество итераций +n = 1 #количество итераций current_path = os.getcwd() #определяю путь до папки в которой лежит этот скрипт +if not os.path.exists(current_path + '\Results'):#создаю папку Results + os.makedirs(current_path + '\Results') +if not os.path.exists(current_path + '\Common'):#создаю папку Common + os.makedirs(current_path + '\Common') +if not os.path.exists(current_path + '\Pictures'):#создаю папку Pictures + os.makedirs(current_path + '\Pictures') pass_to_scenario = current_path + '\Scenario' #эта переменная хранит путь до папки Scenario for filename in os.listdir(pass_to_scenario): #читаю файл за файлом в директории Scenario, т.е. поочередно иду по каждому сценарию scenario = filename[0:-4] diff --git a/ScriptDeaf/Описание.docx b/ScriptDeaf/Описание.docx index f56f5e8..db2cfad 100644 Binary files a/ScriptDeaf/Описание.docx and b/ScriptDeaf/Описание.docx differ