Thanks Chris!!
It worked.. Yeah my bad i was trying out the bad logic :)
On Sat, Nov 15, 2008 at 5:31 AM, Chris Rebert <[EMAIL PROTECTED]> wrote:
> On Fri, Nov 14, 2008 at 10:40 AM, Indian <[EMAIL PROTECTED]> wrote:
> > Hi Friends
> >
> > I'm getting the
On Fri, Nov 14, 2008 at 10:40 AM, Indian <[EMAIL PROTECTED]> wrote:
> Hi Friends
>
> I'm getting the TypeError Unsubscriptable object when using Exec in a class
>
> Here's the example
>
> class Fake(object):
> def __init__(self, reg):
> self._reg
Hi Friends
I'm getting the TypeError Unsubscriptable object when using Exec in a class
Here's the example
class Fake(object):
def __init__(self, reg):
self._reg = reg
def OpenKey(self, rootkey, path):
open_key = self._reg
path_string='[\'HKLM\']