test = requests.get('https://utas.s2.fut.ea.com/ut/game/fifa16/trade/{}/bid'.format(playerNumber), headers=headers, cookies=cookies)
或者更清楚地说:
test = requests.get('https://utas.s2.fut.ea.com/ut/game/fifa16/trade/{playerNumber}/bid'.format(playerNumber=playerNumber), headers=headers, cookies=cookies)
您可以使用
string.format
:或者更清楚地说:
相关问题 更多 >
编程相关推荐