User Profile

Collapse

Profile Sidebar

Collapse
GTAPy
GTAPy
Last Activity: Jul 11 '08, 02:07 PM
Joined: Mar 19 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • GTAPy
    started a topic Win32API and Service Control

    Win32API and Service Control

    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...
    See more | Go to post

  • GTAPy
    replied to Accessing objects &attributes
    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,
    See more | Go to post

    Leave a comment:


  • GTAPy
    started a topic Accessing objects &attributes

    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
    .
    ...
    See more | Go to post

  • 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 =...
    See more | Go to post

    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 ?

    Thanks
    See more | Go to post

    Leave 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...
    See more | Go to post
No activity results to display
Show More
Working...