[protobuf] Importing Protos In Python

2010-08-13 Thread Patrick
I apologize if this is a repost but I could not find any information searching the forums. I am trying to import two simple protos into python 2.6. D:\proto\src\MyProtos\foo.proto package foobar; option java_package = foobar; option java_outer_classname = Foo; message Foo { optional string

[protobuf] Re: flushing the data

2010-08-13 Thread nirajshr
Thanks Jason, I have implemented my system following your suggestion. On Aug 11, 5:36 pm, Jason Hsueh jas...@google.com wrote: ParseFromFileDescriptor will read until there is no more input. This is consistent with behavior when parsing from other types of input streams, as the message wire