0

I'm currently studying Automation and Python programming. I just want to know how I would go about executing a Linux command in Python. The commands I want to execute are:

install = os.system("mysql_secure_installation")
Enter current password for root (Enter for None): 

how to enter the script after Enter current password for root (Enter for None):

if i use install = os.system is can't process

2

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.