[Tutor] Fwd: Re: feedparser in python

2019-04-30 Thread Alan Gauld via Tutor
Sharing with the list, comments later. Busy right now. Forwarded Message Subject:Re: [Tutor] feedparser in python Date: Tue, 30 Apr 2019 14:14:35 + From: nathan tech To: Alan Gauld Hi Alan, Thanks for your emails. I considered what you said, and came

Re: [Tutor] feedparser in python

2019-04-30 Thread Alan Gauld via Tutor
On 30/04/2019 00:23, nathan tech wrote: > The results were as follows: > >     tim( a url): 2.9 seconds > >     tim(the downoaded file(: 1.8 seconds > > > That tells me that roughly 1.1 seconds is network related, fair enough. Or about 30% of the time. Since the network element will increas

Re: [Tutor] self.name is calling the __set__ method of another class

2019-04-30 Thread David L Neil
Hi Arup, On 30/04/19 5:55 AM, Arup Rakshit wrote: class NonBlank: def __init__(self, storage_name): self.storage_name = storage_name def __set__(self, instance, value): if not isinstance(value, str): raise TypeError("%r must be of type 'str'" % se