📜  urllib quote_plus - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:45.657000             🧑  作者: Mango

代码示例2
import urllib.parse

# String
query = 'Hellö Py/tutorial'

# Convert String To URL
url = urllib.parse.quote_plus(query)

# Print
print(url)

# Hell%C3%B6+Py%2Ftutorial