Dev Folks,
i've been investigating the possibility of using Service Control in multi-threaded application, but i am still not sure about it.....more specific, i am using 'Win32serviceut il'.py module to start/stop services...from the module code, to start or stop services it opens SC manager, then querying the status of the service...etc sequence of steps to get it started....... the point that i would like to make here is would it...
User Profile
Collapse
-
Win32API and Service Control
-
Thanks for reply ,
but in class B i have already __init__ that doing other stuff as you can see the code , so should i create another __init__ (self, value) ? or add it to the current __init__ in class B ?
Thanks, -
Accessing objects &attributes
Hello Python Dev.
i am new to Python, i am stuck in one of the classes instantiation with confusing __init__ , here the details : i have 2 classes
[PHP]
Class A:
def __init__(self):
self.service = None
self.currentVer Map = None
self.map= None
self.Name1 = None
self.Name2 = None
.
... -
here's my problem :
i have 2 classes , with these instantiations
[PHP]Class A:
def __init__(self):
self.service = None
self.currentVer Map = None
self.map= None
self.Name1 = None
self.Name2 = None
.
.
.
etc
def AX (self, name):
self.somevalue =...Leave a comment:
-
Thanks for the Reply,
but what it should be define in __Init__ , i mean what's the proper __init__ definition to do this ?
ThanksLeave a comment:
-
Acceessing attribute from diffrent classes &diffrent modules
Hello Python Dev.
i am new to python ...i would like to know more about how to access attribute values within different classes, different modules ....Assum we have the following
[HTML]Module 1
Class A (self):
def AX (self):
x = 'somestring'
return x
Module 2
Class B( self, ....):
def AY (self, .....):
[here...
No activity results to display
Show More
Leave a comment: