fixed rookie mistakes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-12-03 22:31:33 +01:00
parent 35a68fe549
commit a9f473e2d9
8 changed files with 100 additions and 28 deletions

View File

@ -1,16 +1,17 @@
# This is a sample Python script.
from pprint import pprint
# Press Shift+F10 to execute it or replace it with your code.
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.
from scenarioplanner import Scenarioplanner
from src import scenarioplanner
def print_hi(name):
# Use a breakpoint in the code line below to debug your script.
print(f'Hi, {name}') # Press Ctrl+F8 to toggle the breakpoint.
def preparesimulation() -> Scenarioplanner:
scenarioplanner = Scenarioplanner()
scenarioplanner.simulationLength = 120
scenarioplanner.createapplications()
scenarioplanner.createclients(1000)
return scenarioplanner
# Press the green button in the gutter to run the script.
if __name__ == '__main__':
print_hi('PyCharm')
# See PyCharm help at https://www.jetbrains.com/help/pycharm/
scenarioplanner = preparesimulation()
pprint(scenarioplanner)