标签:mys mysql amp sys pytho sql code class int
def test(): sudoPassword = ‘test‘ command = ‘/opt/lampp/lampp stopmysql‘ str = os.system(‘echo %s|sudo -S %s‘ % (sudoPassword, command)) print str
标签:mys mysql amp sys pytho sql code class int
原文地址:https://www.cnblogs.com/xiyuan2016/p/10143963.html