Jan-23-2019, 09:41 AM
(Jan-23-2019, 07:17 AM)CaptainCsaba Wrote: The idea is great, it's much shorter and easier this way, however, I get a syntax error at the "as" in while open('input.txt') as url_file: thich I don't really understand why. I am using python 3.7.Post your actual code that produce error. Ichabood's code is fine, so there is problem with how you changed your code
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs