Найти - Пользователи
Полная версия: обойти все url из list
Начало » Python для новичков » обойти все url из list
1
gelius
Есть список url в переменной list.
['http://domain.com/link.html', '/link2.html']
Нужно последовательно обойти их используя grab.
Какие варианты решения?
FishHook
Может быть этот, как его, цикл?
terabayt
>>> a = ['http://domain.com/link.html', '/link2.html']
>>> for i in a:
...     print i
... 
http://domain.com/link.html
/link2.html
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB