Nov-05-2019, 03:18 PM
Hi
Why is impossible slice this line os.system(dp)?
I try convert to string, but din't work.
Why is impossible slice this line os.system(dp)?
I try convert to string, but din't work.
import os # Verificar se a impressora padrão é uma sebra dp = "lpq" rs = os.system(dp) print(rs)
Output:PDF is ready
no entries
0
I would like take this part Output:PDF is ready