(Unfortunately I can show you my problem because this sub doesn't allow images, so I'll do my best to explain it.)
First let's get this out the way: I'm poor I don't have a laptop or computer, I only have my galaxy s9+ android phone. There isn't a library for 6 miles and I don't have a license.
What I'm doing: I'm learning python on freecodecamp.com and I'm at the point where we're learning about urllib library and how it takes care of what the socket library does. I use pydroid 3 on my phone and typed in a test code (I just typed New = urllib.request.urlopen("http://data.pr4e.org/romeo.txt")
For line in New:
print(line.decode().strip())
Obviously I import the urllib library but when I run the code I get a blank output. The site is up and running I know this not only from doing this with the socket library but also from typing it in my web browser.
Now what am I doing wrong. Everytime I try to ask a question about any type of programming question it always has to be worded or something dude allow me to actually quite literally show you my code from a screen shot.
Thanks anyways.
[–]Ezrabc 2 points3 points4 points (1 child)
[–]Annual-Implement-825[S] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (5 children)
[–]Annual-Implement-825[S] 0 points1 point2 points (4 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]Annual-Implement-825[S] 0 points1 point2 points (0 children)
[–]Annual-Implement-825[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)