Re: error in except

2013-02-04 Thread John Evans
, wget doesn't time out for 3 minutes, which is > possibly overkill.) > > But either way, I don't think RuntimeError is the right exception to use. I > expect that a socket error would be more relevant. > > > except: > > raise > > What this does is: > > "Unconditionally catch anything. Then raise it again." > > Don't do this. The right thing to do here is, just delete it and don't > catch > it at all. > > > > > -- > Steven > > -- > http://mail.python.org/mailman/listinfo/python-list > -- John Evans -- http://mail.python.org/mailman/listinfo/python-list

Re: Parse a Wireshark pcap file

2013-01-23 Thread John Evans
ee it compile fine & the libraries have been installed to: >>> > /usr/local/sbin/dnet >>> > >>> > However, python can't find it... I am not clear on how to point Python >>> > there... >>> > >>> "libdnet"

Re: Parse a Wireshark pcap file

2013-01-23 Thread John Evans
can't find it... I am not clear on how to point Python > > there... > > > "libdnet" is likely a shared object binary... What I /think/ you > are > missing is the Python library that interfaces with that binary... > > Could http://pypi.python.org/pypi/dnet answer the question? > -- > Wulfraed Dennis Lee Bieber AF6VN > wlfr...@ix.netcom.comHTTP://wlfraed.home.netcom.com/ > > -- > http://mail.python.org/mailman/listinfo/python-list > -- John Evans -- http://mail.python.org/mailman/listinfo/python-list

some pointers for a newbie

2004-12-04 Thread John Evans
Hi, I have decided to play around with python, for the simple reason there appears nothing better to do at 2am on a sunday morning ;) Anyway I am familiar with languages similar to PHP, javaa script, and also languages which have similarities on the surface to python such as Lingo (macromedia D