9 Respostas
+ 2
Can you give more details ?
+ 2
how about:
commands = ["install nagios", "update"]
for command in commands:
os.system(yum command)
?
0
I try to write code for automatic install software in servers,but i have pblm i don't know to write properly ,only know basically
0
import os
import sys
(?)
0
I still don't understand ? Where is the use of os ans sys, and how am I supposee to know what you're trying to do ?
0
I don't know what he's trying to do either, it was a recommendation to look at those modules.
0
I am trying to install nagios ,some other software on linux using pyhon ,i am write it
Imports os
Os.system( yum install nagios)
Os.system( yum update)
Like same this multi command i want try soming new methond cmd line i don't want repect same line every time
0
If this is the solution, then sololearn should consider making the courses harder. Someone who finished the python here should be able to do much more than a for loop, yet he's struggling with this
0
M thanks i will try