Slicing URL with Python

后端 未结 10 1198
予麋鹿
予麋鹿 2020-12-15 01:17

I am working with a huge list of URL\'s. Just a quick question I have trying to slice a part of the URL out, see below:

http://www.domainname.com/page?CONTEN         


        
10条回答
  •  北荒
    北荒 (楼主)
    2020-12-15 01:39

    Look at the urllib2 file name question for some discussion of this topic.

    Also see the "Python Find Question" question.

提交回复
热议问题