o2g/gtfs/gtfs_writer.py
def write_unzipped(self, destination):
        """Write GTFS text files in the given path."""
        for name, buffer in self._buffers.items():
            with open(os.path.join(destination,
                                   '{}.txt'.format(name)),
                      'w', encoding='utf-8') as file:
                file.write(buffer.getvalue())
        for name, path in self._files.items():
            shutil.copy(path, os.path.join(destination, name))
def write_unzipped(self, destination):
        for name, buffer in self._buffers.items():
            with open(os.path.join(destination,
                                   '{}.txt'.format(name)),
                      'w', encoding='utf-8') as file:
                file.write(buffer.getvalue())
        for name, path in self._files.items():
            shutil.copy(path, os.path.join(destination, name))
def write_unzipped ( self , destination ) : for name , buffer in self . _buffers . items ( ) : with open ( os . path . join ( destination , '{}.txt' . format ( name ) ) , 'w' , encoding = 'utf-8' ) as file : file . write ( buffer . getvalue ( ) ) for name , path in self . _files . items ( ) : shutil . copy ( path , os . path . join ( destination , name ) )
Write GTFS text files in the given path.
Write GTFS text files in the given path .