Marc 'BlackJack' Rintsch wrote:
> In <[EMAIL PROTECTED]>, gel wrote:
>
> > Yeah I am still getting my head around things... not exactly sure what
> > you where saying about the globals, but this works
> >
> >
> > global k
> > k = 5
> > class foo:
> >
> > def wow(self, n):
> >
In <[EMAIL PROTECTED]>, gel wrote:
> Yeah I am still getting my head around things... not exactly sure what
> you where saying about the globals, but this works
>
>
> global k
> k = 5
> class foo:
>
> def wow(self, n):
> global k
> k += n
>
Simon Forman wrote:
> gel wrote:
>
>
>
> > class testclass:
> > import wmi
> > import time
> > global d_software
> > global l_notepad
> > global d_licence_numbers
> > d_licence_numbers = {"notepad.exe":1, "Adobe":1}
> > l_notepad =[]
> > d_software = {"notepad.exe
gel wrote:
> class testclass:
> import wmi
> import time
> global d_software
> global l_notepad
> global d_licence_numbers
> d_licence_numbers = {"notepad.exe":1, "Adobe":1}
> l_notepad =[]
> d_software = {"notepad.exe":[[],[]], "Adobe":[[],[]]}
>
Wow! For a se
gel wrote:
> Bruno Desthuilliers wrote:
>
> > gel wrote:
> > > gel wrote:
> > >
> > >
> > >>Hi
> > >>I would like to pass a variable in and use it as part of a name of an
> > >>object, something like below, where I pass the variable software into
> > >>the function and use it as part of the name
Bruno Desthuilliers wrote:
> gel wrote:
> > gel wrote:
> >
> >
> >>Hi
> >>I would like to pass a variable in and use it as part of a name of an
> >>object, something like below, where I pass the variable software into
> >>the function and use it as part of the name of the object so that I can
> >>
gel wrote:
> gel wrote:
>
>
>>Hi
>>I would like to pass a variable in and use it as part of a name of an
>>object, something like below, where I pass the variable software into
>>the function and use it as part of the name of the object so that I can
>>append to it using the other vairables. Any
gel wrote:
> Hi
> I would like to pass a variable in and use it as part of a name of an
> object, something like below, where I pass the variable software into
> the function and use it as part of the name of the object so that I can
> append to it using the other vairables. Any suggestions?
>
>
Hi
I would like to pass a variable in and use it as part of a name of an
object, something like below, where I pass the variable software into
the function and use it as part of the name of the object so that I can
append to it using the other vairables. Any suggestions?
def a_d(self,softwar