try sys.path.append(DIR_OF_RUNNER.PY) before trying to import runner 2015-06-05 18:58 GMT+02:00 François Vaudrin <[email protected]>:
> Hello, > > I can run the script Tutorials / TraCI4Traffic Lights in a terminal using > $ python runner.py > By-cons, when I work in the development environment IDLE (Integrated > Development Environment) for Python .... IDLE (using Python-2.7) ... I can > not start the script. > > >>> Import runner > >>> runner > > NameError: name 'runner' is not defined > > I do other tests (runner.main (), etc.) but it does not work. > > Does anyone has had this problem? > > thank you > > François > > ------------------------------------------------------------------------------ > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
