我是 python 新手,我正在尝试分配变量,它说 systax 错误
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
请指导我并给出一些指示