On Thursday, June 22, 2017 at 12:16:28 PM UTC+1, kishan.samp...@gmail.com wrote:
> I want to write a common file in which It can add the frequency by adding
> multiple csv file and if the same words are repeated in python then it should
> add the frequency in the common file can any one help me p
On Saturday, June 24, 2017 at 11:31:11 AM UTC+1, Steve D'Aprano wrote:
> What's the right/best way to test whether an object is an exception ahead of
> time? (That is, without trying to raise from it.)
>
> I have:
>
> return (isinstance(obj, type) and issubclass(obj, BaseException)
> or i