Python Forum
exception not caught in my filetopystr.py
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
exception not caught in my filetopystr.py
#6
"No internet connection!!!" is just an example. It's not related to your script. 
As I know urllib2 uses a socket module. A little digging tells me that socket module wouldn't print out IOError but socket.error exception.
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


Messages In This Thread
RE: exception not caught in my filetopystr.py - by wavic - Dec-29-2016, 08:45 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  During handling of the above exception, another exception occurred Skaperen 7 27,031 Dec-21-2018, 10:58 AM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

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