#coding:utf-8class make:#projName = "zhang long is SB" #构造函数def __init__(self,gege):self.mvn="/root/online/maven/apache-maven-3.2.3/bin/mvn"self.gitPath="/root/online/jiea-project/common-h5/common-h5"self.ce=gegedef mvn1(self,name,shelve):self.projName = nameself.shelve = shelveprint self.projNameprint self.shelveprint "start"projName='sb'B = make(projName)print "-------"B.mvn1(projName,projName)print "-----"print 'hello world'print "end"def zl(a,b,c):print aprint bprint cf="hhe"d="hehe2"e="hehe3"zl(f,d,e)
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/30129545/viewspace-2112355/ ,如需转载,请注明出处,否则将追究法律责任。