Python package glob: How to get a list of files under a directory?

Original post here.

import glob

Will return a list with the queried files:

['/home/user/file1.txt', '/home/user/file2.txt', .... ]

HP Device Manager to Scan Docs

Original post here.

A HP printer management interface called HP LIP is provided in the standard Ubuntu repository.

To install it :

# sudo apt-get install hplip-gui

It is now available thru the menuĀ system / preferences / HPLIP Toolbox.

Now you can even check your cartridges level !

HPLIP Supplies