Skip to content

Tag: python

Appending a wordlist to URLS to make a webrequest

-I have a wordlist where each entry is printed on a separate line in a .txt file. -I am adding the wordslists entries onto the end of a url (nsip is listed below as a placeholder) I am trying to take each URL and and make web requests BUT when I print i.e. full_url[0] it just gives me the whole

How to import strftime() and strptime() in Python IDLE

I tried to make a result that can show “Night club” on Staurday, “Blue Monday” on Monday, and “No way” on the other days. The below is my code. The system said that “cannot import name ‘strftime’ from ‘datetime’”, how to revise the code? Answer…