mardi 5 septembre 2017

If "http" AND "https" not in iter_urls() [duplicate]

This question already has an answer here:

I need to check if "http://"+sUrl not in iter_urls() AND "https://"+sUrl not in iter_urls()

How to do correct

if "http://"+sUrl AND "https://"+sUrl not in iter_urls():
or
if ("http://"+sUrl AND "https://"+sUrl) not in iter_urls():
or
if "http://"+sUrl not in iter_urls() AND "https://"+sUrl not in iter_urls():

Aucun commentaire:

Enregistrer un commentaire