urlparser.jion在python3.5中应该怎么改
如图所示,我在写 new_full_url = urlparse.urljoin(page_url,new_url)时发现urljoin现在对应的函数是urllib.parse.urljoin,由于本人刚学python,想问一下该语句是否应该改为 new_full_url =urlparser.urllib.parse.urljoin(page_url,new_url)?
如图所示,我在写 new_full_url = urlparse.urljoin(page_url,new_url)时发现urljoin现在对应的函数是urllib.parse.urljoin,由于本人刚学python,想问一下该语句是否应该改为 new_full_url =urlparser.urllib.parse.urljoin(page_url,new_url)?
2016-08-23
举报