[pacman-dev] pyalpm transaction initialize

Rémy Oudompheng remyoudompheng at gmail.com
Fri Jul 1 14:46:49 EDT 2011


On 2011/7/1 Yaşar Arabacı <yasar11732 at gmail.com> wrote:
> Hi,
>
> I am just trying to figure out the pyalpm. I have no prior knowledge of
> libalpm itself.(Since I don't know C). I guess I figured out the most parts
> of using it, but I was wondering if someone can give me example usage of
> pyalpm.transaction.init() method. Especially the part where I pass arguments
> to it. What kind of arguments should I pass to that method?  (list, tuple,
> kwargs,str??)
>
> I also wonder if I should pass some arguments to pyalpm.transaction.prepare,
> or I just use it as it is.

Hello,

The pycman scripts provide examples of how to use the pyalpm API. The
code should be self-explanatory.

Regards,
Rémy.


More information about the pacman-dev mailing list