python第三方庫推薦 - 用furl優雅的操做url

基本操做python >>> from furl import furl >>> f = furl('http://www.google.com/?page=1') >>> f.scheme, f.host, f.port, f.path, f.query, f.fragment >>> f.url >>> f.args >>> f.args['page'] >>> f.args['page']
相關文章
相關標籤/搜索