-
-
Save bahrammp/e9b221609ec53b8924230028d6c38a93 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
restaurant_vendor_name = list() | |
restaurant_urls = list() | |
f = open('restaurants_links.txt') | |
for line in f: | |
restaurant_urls.append(line) | |
f.close() | |
for i in restaurant_urls: | |
restaurant_vendor_name.append(i.split('/')[3]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment