Re: [sumo-user] Using Python tools as reusable libraries

2019-08-02 Thread Michael Behrisch
...@eclipse.org] *On Behalf Of *Harald Schaefer *Sent:* Tuesday, 16 July 2019 19:12 *To:* sumo-user@eclipse.org *Subject:* Re: [sumo-user] Using Python tools as reusable libraries   Hi Sasan,   duaIterate is callable as library as well as randomTrips.py Some script called by duaIterate complain

Re: [sumo-user] Using Python tools as reusable libraries

2019-07-17 Thread Harald Schaefer
g > [mailto:sumo-user-boun...@eclipse.org] *On Behalf Of *Harald Schaefer > *Sent:* Tuesday, 16 July 2019 19:12 > *To:* sumo-user@eclipse.org > *Subject:* Re: [sumo-user] Using Python tools as reusable libraries > >   > > Hi Sasan, > >   > > duaIterate is callab

Re: [sumo-user] Using Python tools as reusable libraries

2019-07-17 Thread Sasan Amini
yet I can't use it... Sasan From: sumo-user-boun...@eclipse.org [mailto:sumo-user-boun...@eclipse.org] On Behalf Of Harald Schaefer Sent: Tuesday, 16 July 2019 19:12 To: sumo-user@eclipse.org Subject: Re: [sumo-user] Using Python tools as reusable libraries Hi Sasan, duaIterate is callable

Re: [sumo-user] Using Python tools as reusable libraries

2019-07-16 Thread Harald Schaefer
Hi Sasan, duaIterate is callable as library as well as randomTrips.py Some script called by duaIterate complains about missing trips, flows or routes. Have you tried calling duaIterate.py with the same parameters from the command line? Greetings Harald Am 16.07.19 um 10:16 schrieb Sasan Amini: >

[sumo-user] Using Python tools as reusable libraries

2019-07-16 Thread Sasan Amini
Hi all, I am trying to use some of the Python scripts provided in the Tools folder of SUMO in my Python script as libraries. Basically, I want to avoid subprocess and executing python functions in shell. However, I have difficulties using them. For example I can use the randomTrips.py as sugges