A
A
Alex2019-08-03 23:12:49
linux
Alex, 2019-08-03 23:12:49

"Confirmation" action Python script on Linux?

Hi all. The essence of the question is this:
I need to write a python script for linux that will install packages. Some of them require confirmation to install (something like you need to write y/yes when you write the apt upgrade command ). Is there a command that the script itself would confirm this?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question