Re: Reading from a GFile



Hello Abderrahim,

On Sa, 09.06.2012 21:48, Abderrahim Kitouni wrote:

>Hi,
>
>                   في س، 09-06-2012 عند 14:52 +0200 ، كتب Holger Berndt:
>> Hello,
>> 
>> I'm trying to read from a GFile, but can't figure out how to do it.
>> I neither found an answer in the tutorial, nor in PyGObject's tests or
>> examples.
>
>I think it's better to use load_contents (or load_contents_async)
>instead of the lower level read.

That's a possibility indeed, thanks for pointing that out. I guess
it should be possible to use the lower-level GInputStream objects too,
though.

Holger


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]