Aug-26-2018, 09:05 PM
Line 22 is where you input your user name (I removed actual username):
however I don't see an issue here
One last note. If you must use python 2, would you at least put print statements in parenthesis?
username = input('Username: ')This is where the error traceback is showing the error,
Error:File "C:\Users\Edward\Desktop\Python 2.79\Web Scraping Code For .ZIP Files 3.py", line 22, in get_credentials
username = input('Username: ')
File "<string>", line 1, in <module>
NameError: name '......' is not defined
The last line number is usually where the error is encounteredhowever I don't see an issue here
One last note. If you must use python 2, would you at least put print statements in parenthesis?