I've come across a program run by Python2
, which asks many questions of yes/no type.
I want to answer "yes" to all of them, but it's really difficult because there are literally hundreds of them (it's basically a parser of code, which asks about every found variable).
So, is there any possibility, how to force Python answer "yes" automatically?
I think about something similar to apt-get -y install
. And I'm interested in answers about both Python2
and Python3
.
I'm using Lubuntu 16.10
and my default Shell is GNU bash, version 4.3.48
.