On Wed, Apr 09, 2003 at 11:03:32AM +0200, Jochen Voss wrote:
> Hello,
>
> On Wed, Apr 09, 2003 at 10:34:01AM +0200, Luca - De Whiskey's - De Vitis wrote:
> > 1) dpkg -I <file> ...
> Did you see the "from within a Python program" part of my question?
Sorry, I could not figure that the search and the parsing of "Key: value" list
with known fields, from a file or standard imput, would take so much time.
> I hoped for some python library which would spare me the parsing of
> apt internal files, dpkg output, and such. Maybe python-apt can do
> this?
Please, let me suggest a Debian Developer to try "apt-cache search" or read
/usr/share/doc/{dpkg,apt}/* before he try any other effort in Debian. May be
that's the last time a pretend to be useful helping or replying to some
Developers.
ciao,
--
Luca - De Whiskey's - De Vitis | Elegant or ugly code as well
aliases: Luca ^De [A-Z][-A-Za-z]*[iy]'?s$ | as fine or rude sentences have
Infinite loop: see `Loop, infinite'. | something in common: they
Loop, infinite: see `Infinite loop'. | don't depend on the language.
Attachment:
pgpQyfgI04Q9v.pgp
Description: PGP signature