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
#5
the internet connection is working. the command pipeline has first "head -80" which quits reading STDIN after reading 80 lines (this is the pipe error i am trying to catch and ignore). then the "tail -3" gives a small peek of the output (lines 78 to 80 based on counting from 1).

this is how much i am getting from the working internet connection.  note that google gives slightly different content each time.  i can set up a static file in linuxhomepage.com if that would help somehow.

Output:
lt1/forums /home/forums 95> python filetopystr.py 0 'http://www.google.com/' ip 80|wc -lc           connecting to 'http://www.google.com/' connected  to 'http://www.google.com/' reading  from 'http://www.google.com/' read 10931 bytes     143   11542 lt1/forums /home/forums 96>
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


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

Possibly Related Threads…
Thread Author Replies Views Last Post
  During handling of the above exception, another exception occurred Skaperen 7 27,167 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