Re: [BangPypers] July meetup

2010-07-29 Thread Anand Balachandran Pillai
On Thu, Jul 29, 2010 at 5:56 PM, Anand Chitipothu wrote: > 2010/7/29 Noufal Ibrahim : > > vijay writes: > > > >> All, > >> Do let me know if this is fine with every one. > > > > [...] > > > > Fine by me. +1. > > Is the venue final then? I've not seen may +1s. > > I need to send a mail to offl

Re: [BangPypers] how to delete base class attribute

2010-07-29 Thread Anand Balachandran Pillai
On Thu, Jul 29, 2010 at 5:33 PM, Mahadevan R wrote: > On Thu, Jul 29, 2010 at 4:24 PM, Nitin Kumar wrote: > > fine, but isn't there any way to hide few function of base class into > > derived one??? > > You can try obscuring it: > > class y(x): > def __init__(self): > x.__init__(self) >

Re: [BangPypers] July meetup

2010-07-29 Thread kunalkant sen
This time it wont possible in Microsoft. I spoke to him and he willing to help out from next time. They need atleast one week advance notice for meet up to arrange and for security clearance. Keep MS as alternative from next time. Regards Kunal Kant Sen 09241009423 On Thu, Jul 29, 2010 at 5:56 P

Re: [BangPypers] July meetup

2010-07-29 Thread vijay
Venue is final --- vijay --- On Thu, 29/7/10, Anand Chitipothu wrote: From: Anand Chitipothu Subject: Re: [BangPypers] July meetup To: "Bangalore Python Users Group - India" Date: Thursday, 29 July, 2010, 5:56 PM 2010/7/29 Noufal Ibrahim : > vijay writes: > >> All, >>     Do let me know i

Re: [BangPypers] July meetup

2010-07-29 Thread Anand Chitipothu
2010/7/29 Noufal Ibrahim : > vijay writes: > >> All, >>     Do let me know if this is fine with every one. > > [...] > > Fine by me. +1. Is the venue final then? I've not seen may +1s. I need to send a mail to offline registrants about the usergroup meeting. I'm out of city right now and won't

Re: [BangPypers] how to delete base class attribute

2010-07-29 Thread Mahadevan R
On Thu, Jul 29, 2010 at 4:24 PM, Nitin Kumar wrote: > fine, but isn't there any way to hide few function of base class into > derived one??? You can try obscuring it: class y(x): def __init__(self): x.__init__(self) self.A = None Cheers, -MD. ___

Re: [BangPypers] July meetup

2010-07-29 Thread Anand Chitipothu
2010/7/29 Habibullah Pagarkar : > Hello folks, > > Slight change of plans. The builders at our Domlur office want to perform > some electrical maintenance work this weekend. I hope meeting at the > Koramangala office instead at the same time wouldn't be too inconvenient. > > The address: > > Though

Re: [BangPypers] how to delete base class attribute

2010-07-29 Thread Srinivas Reddy Thatiparthy
>>fine, but isn't there any way to hide few function of base class into >>derived one??? I didn't get what is meant by hiding? You can override the function/method of base class in sub class. In that method, you can modify the behaviour for subclass or raise an exception or simply include 'pass'.

Re: [BangPypers] how to delete base class attribute

2010-07-29 Thread Nitin Kumar
fine, but isn't there any way to hide few function of base class into derived one??? On Thu, Jul 29, 2010 at 3:13 PM, Mehndi, Sibtey wrote: > Nitin, > del can only remove the elements present in the instance > dictionary. If you check self.__dict__ then it shows that A is not in the > dic

Re: [BangPypers] July meetup

2010-07-29 Thread Noufal Ibrahim
vijay writes: > All, >     Do let me know if this is fine with every one. [...] Fine by me. +1. -- ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] how to delete base class attribute

2010-07-29 Thread Mehndi, Sibtey
Nitin, del can only remove the elements present in the instance dictionary. If you check self.__dict__ then it shows that A is not in the dictionary only 'a' and 'b' exist in the dict that's why it is giving the attribute error. Sibtey -Original Message- From: bangpypers-bounc

Re: [BangPypers] how to delete base class attribute

2010-07-29 Thread steve
Hi Nitin, On 07/29/2010 02:18 PM, Nitin Kumar wrote: Hi all, Say I have 10 functions in base class and I have inherited it in some derived class. But I only want 9 of the base class function to be available in child class. (and I don’t want to make that one class private) Python encourag

[BangPypers] how to delete base class attribute

2010-07-29 Thread Nitin Kumar
Hi all, Say I have 10 functions in base class and I have inherited it in some derived class. But I only want 9 of the base class function to be available in child class. (and I don’t want to make that one class private) class x: def __init__(self): self.a =3 self.b= 4

Re: [BangPypers] July meetup

2010-07-29 Thread vijay
All,     Do let me know if this is fine with every one. with regardsvijay --- On Thu, 29/7/10, Habibullah Pagarkar wrote: From: Habibullah Pagarkar Subject: Re: July meetup To: vnbang2...@yahoo.com Cc: "Bangalore Python Users Group - India" Date: Thursday, 29 July, 2010, 12:26 PM Hello fol