Could someone help me translate to something that would close to it in
python?  The anonymous functions are giving me problems.

    var dataListener = {
      data : "",
      onStartRequest: function(request, context){},
      onStopRequest: function(request, context, status){
        instream.close();
        outstream.close();
        listener.finished(this.data);
      },
      onDataAvailable: function(request, context, inputStream, offset,
count){
        this.data += instream.read(count);
      },
    };

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to