parameters: (filename, **others)
return_statement: return netreader.getNet()
docstring: load a .net.xml file
      The following named options are supported:
  
          'net' : initialize data structurs with an existing net object (default Net())
          'withPrograms' : import all traffic light programs (default False)
          'withLatestPrograms' : import only the last program for each traffic light.
                                 This is the program that would be active in sumo by default.
                                 (default False)
          'withConnections' : import all connections (default True)
          'withFoes' : import right-of-way information (default True)
          'withInternal' : import internal edges and lanes (default False)
          'withPedestrianConnections' : import connections between sidewalks, crossings (default False)
docstring_summary: load a .net.xml file
      The following named options are supported:
docstring_tokens: load a . net . xml file The following named options are supported :
function: def readNet(filename, **others):
      """ load a .net.xml file
      The following named options are supported:
  
          'net' : initialize data structurs with an existing net object (default Net())
          'withPrograms' : import all traffic light programs (default False)
          'withLatestPrograms' : import only the last program for each traffic light.
                                 This is the program that would be active in sumo by default.
                                 (default False)
          'withConnections' : import all connections (default True)
          'withFoes' : import right-of-way information (default True)
          'withInternal' : import internal edges and lanes (default False)
          'withPedestrianConnections' : import connections between sidewalks, crossings (default False)
      """
      netreader = NetReader(**others)
      try:
          parse(gzip.open(filename), netreader)
      except IOError:
          parse(filename, netreader)
      return netreader.getNet()
function_tokens: def readNet ( filename , * * others ) : netreader = NetReader ( * * others ) try : parse ( gzip . open ( filename ) , netreader ) except IOError : parse ( filename , netreader ) return netreader . getNet ( )