我新的Python我想分配變量,它說systax錯誤而分配變量Python語法錯誤
protocol = input.readLine()
connectUrlHttp='http'
connectUrlHttps='https'
if protocol== "t3s":
connectUrl=connectUrlHttps
elif protocol== "iiops":
connectUrl=connectUrlHttps
else:
connectUrl=connectUrlHttp
sca_deployComposite(connectUrl"://"+host+":"+port,emdroot+"/"+compositeLoc,owrite,user, password,default)
我對着下面的錯誤
(no code object) at line 0
File "/scratch/agentHome/sdappaji2/core/12.1.0.3.0/EMStage/PAF/DeployCompositesDP1367835748253/deploycompositesscripts/deployComposites.py", line 36
connectUrl=connectUrlHttp
請指引我,給一些指針