Sergio Ayestarán Sergio Ayestarán - 29 days ago 9
Python Question

Library to build URLs in Python

I need to find a library to build URLs in python like:

http://subdomain.domain.com?arg1=someargument&arg2someotherargument


What library would you recommend to use and why? Is there a "best" choice for this kind of library?

Answer

urlparse in the python standard library is all about building valid urls. Check the documentation of urlparse

Comments