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

python-apt: how to get ShortDesc and LongDesc


would someone write me  a sample code on how  to get the ShortDesc and
LongDesc records from the PkgRecords class?

I think it should start with something like:

cache   = apt_pkg.GetCache()
records = apt_pkg.GetPkgRecords(cache)
package = cache['my_pkg']

but I can't figure out how to go on..



Reply to: