Dear Mirko, I would like to run a duaIterate with TraCi in a Jupyter notebook on a given smocfg. I am not sure if it is possible using TraCi. So instead of using a terminal to run the duaIterate I would like to run it in a Jupyter notebook.
Best regards, Zoltan Mirko Barthauer <[email protected]> ezt írta (időpont: 2023. nov. 22., Sze, 18:02): > Hi Zoltan, > > > > can you please develop a bit more on what you want to achieve? Do you > want to call duaIterate.py from another python script? This can be done > like this (pseudo code): > > > > *import duaIterate* > > *arguments = ["--foo", "bar"]* > > *duaIterate.main(args=arguments)* > > > > Many of our scripts have a dedicated main function which can be called > explicitly. > > > > Best regards > > Mirko > > > > > > > > > > -----Original-Nachricht----- > > Betreff: [sumo-user] How can we use duaIterate.py in traci > > Datum: 2023-11-22T16:13:23+0100 > > Von: "Zoltán Varga via sumo-user" <[email protected]> > > An: "Sumo project User discussions" <[email protected]> > > > > > > > Dear All, > > I would like to ask you how we an implement duaIterate.py in traci. When I > try to run this way > traci.start(["python", <PATH TO duaIterate.py>, "-n", <NETWORK FILE>, > "-t", <TRIPS FILE>], port=<PORT NUMBER>) > > the error message says that 'python' no such files or directory > > Thank you for your answer in advance. > > Best regards, > > Zoltan > >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
