I tried this
a = subprocess.run(['apt download timeshhhh'],stdout = subprocess.PIPE, shell = True)
but this shows:
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
E: Unable to locate package timeshhhh
I want only:
E: Unable to locate package timeshhhh
what to do?