/ Published in: Python
1. create a packagekit instance
2. search for the blender package
3. show the complete name and the package summary
(needs python-packagekit package)
2. search for the blender package
3. show the complete name and the package summary
(needs python-packagekit package)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
import packagekit.client pk = packagekit.client.PackageKitClient() #search for packet with name "blender" erg = pk.search_name('blender') print erg[0].name print erg[0].summary