将python变量传递给json

时间:2019-02-08 18:58:05

标签: python json variables

我有一个python变量,我想将其传递给json。

EndpointCache = EndpointAddress + ':' + str(EndpointPort)
SsmCommand = ssm_client.send_command(DocumentName='AWS-RunShellScript', InstanceIds=['i-xxxxxx'], Parameters={'commands':['mkdir /tmp/"EndpointCache"', 'mkdir /tmp/ali']})

0 个答案:

没有答案