[pacman-dev] pyalpm transaction initialize
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. Thanks in advance Yaşar Arabacı
On 2011/7/1 Yaşar Arabacı <yasar11732@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.
Thanks. Reading it now. I feel sorry for myself for not realizing it *_* By the way, your codes are like a poem. Sometimes even I can't read my codes. (Now I am sorry for myself again). Thanks again. Yaşar Arabacı 2011/7/1 Rémy Oudompheng <remyoudompheng@gmail.com>
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
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
On 2011/7/1 Yaşar Arabacı <yasar11732@gmail.com> wrote: parts 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.
participants (2)
-
Rémy Oudompheng
-
Yaşar Arabacı