Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
urllib can't find "parse"
#6
Definitely strange behaviour. I tried using the Visual Studio Code IDE and it gives this result

>>> dir(urllib)
['__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', 'parse']
It seems to me that the IDE should not significantly change the environment such that functioning code (from within the IDE) becomes non-functioning when run outside the IDE. But at least I know how to fix it (this time). I can't wait for the next gotcha.
Reply


Messages In This Thread
urllib can't find "parse" - by rjdegraff42 - Jul-23-2023, 10:26 PM
RE: urllib can't find "parse" - by menator01 - Jul-23-2023, 11:16 PM
RE: urllib can't find "parse" - by rjdegraff42 - Jul-24-2023, 12:19 AM
RE: urllib can't find "parse" - by bowlofred - Jul-24-2023, 03:30 AM
RE: urllib can't find "parse" - by deanhystad - Jul-24-2023, 05:05 PM
RE: urllib can't find "parse" - by rjdegraff42 - Jul-24-2023, 05:20 PM
RE: urllib can't find "parse" - by deanhystad - Jul-24-2023, 05:28 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Help with urllib.request Brian177 2 3,886 Apr-21-2021, 01:58 PM
Last Post: Brian177
  urllib.request ericmt123 2 3,217 Dec-21-2020, 06:53 PM
Last Post: Larz60+
  urllib is not a package traceback cc26 3 8,138 Aug-28-2020, 09:34 AM
Last Post: snippsat
  urllib request error 404 Coco 2 5,478 May-11-2019, 02:47 PM
Last Post: Larz60+
  KeyError urllib DavidFernandez 4 4,756 Nov-21-2018, 08:34 PM
Last Post: DavidFernandez
  urlparse to urllib.parse - the script stopped working apollo 5 8,106 Oct-26-2017, 06:57 AM
Last Post: apollo
  URLLIB.REQUEST Not Working hallofriends 1 7,129 Sep-18-2017, 05:00 PM
Last Post: Larz60+
  how to loop data in urllib? pythonlover 4 9,099 Jan-18-2017, 06:53 PM
Last Post: pythonlover

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020