Re: I would like write some data recovery software

2006-10-19 Thread gel
Laurent Pointal wrote: > gel a écrit : > > I would like to write some data recovery software as a learning thing. > > The sort of thing that you would use to recover data from a currupt HDD > > or floppy etc. I would like to be pointed in the right direction as > >

Re: I would like write some data recovery software

2006-10-17 Thread gel
Dennis Lee Bieber wrote: > On 17 Oct 2006 20:18:40 -0700, "gel" <[EMAIL PROTECTED]> declaimed > the following in comp.lang.python: > > > I would like to write some data recovery software as a learning thing. > > The sort of thing that you would use to recover

I would like write some data recovery software

2006-10-17 Thread gel
I would like to write some data recovery software as a learning thing. The sort of thing that you would use to recover data from a currupt HDD or floppy etc. I would like to be pointed in the right direction as far as modules to use and suggested approaches. -- http://mail.python.org/mailman/lis

Re: What would be the best way to run python client in the background

2006-08-21 Thread gel
Tim Golden wrote: > | Tim Golden wrote: > | > | > [gel] > | > > | > | I have written a python client server app [...] > | > | I want to run the client end of the app more or less invisibly > | > | (no console) on the XP clients when ever a users logs on. > &

Re: What would be the best way to run python client in the background

2006-08-21 Thread gel
Tim Golden wrote: > | > [gel] > | > > | > | I have written a python client server app [...] > | > | I want to run the client end of the app more or less invisibly > | > | (no console) on the XP clients when ever a users logs on. > > While this isn't

Re: What would be the best way to run python client in the background

2006-08-20 Thread gel
Ravi Teja wrote: > gel wrote: > > Hi > > I have written a python client server app that keeps an eye on > > processes starting and ending on a client and makes decision on what to > > do based on information from the server end. I want to run the client > > end

Re: What would be the best way to run python client in the background

2006-08-20 Thread gel
to be robust, but this maybe enough. Cheers > "gel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hi > > I have written a python client server app that keeps an eye on > > processes starting and ending on a client and makes decision on what to &g

Re: What would be the best way to run python client in the background

2006-08-20 Thread gel
Tim Golden wrote: > | > [gel] > | > > | > | I have written a python client server app [...] > | > | I want to run the client end of the app more or less invisibly > | > | (no console) on the XP clients when ever a users logs on. > > While this isn't answer

Re: What would be the best way to run python client in the background

2006-08-15 Thread gel
Tim Golden wrote: > [gel] > > | I have written a python client server app [...] > | I want to run the client end of the app more or less invisibly > | (no console) on the XP clients when ever a users logs on. > > You say "when[]ever a user logs on" but does thi

What would be the best way to run python client in the background

2006-08-15 Thread gel
Hi I have written a python client server app that keeps an eye on processes starting and ending on a client and makes decision on what to do based on information from the server end. I want to run the client end of the app more or less invisibly (no console) on the XP clients when ever a users log

Re: New to threads. How do they work?

2006-07-19 Thread gel
Dennis Lee Bieber wrote: > On 19 Jul 2006 19:08:12 -0700, "gel" <[EMAIL PROTECTED]> declaimed the > following in comp.lang.python: > > > import thread > > > Step one... Skip the thread module and use threading module instead. > > > def

New to threads. How do they work?

2006-07-19 Thread gel
Hi all I am attempting to understand threads to use in a network app which I am writing. The part that I am going to use threads on is run on the clients/workstations. I will monitor all starting and ending processes. Below is what I have been doing. It looks like only the first thread is starti

Re: use var to form name of object

2006-07-17 Thread gel
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 >

Re: How to trap the event of a new process starting with wmi

2006-07-06 Thread gel
gel wrote: > placid wrote: > > > gel wrote: > > > placid wrote: > > > > > > > gel wrote: > > > > > gel wrote: > > > > > > > > > > > Below is how it is down with vbscript. What is the best w

Re: How to trap the event of a new process starting with wmi

2006-07-06 Thread gel
placid wrote: > gel wrote: > > placid wrote: > > > > > gel wrote: > > > > gel wrote: > > > > > > > > > Below is how it is down with vbscript. What is the best way to > > > > > convert > > > > >

Re: How to trap the event of a new process starting with wmi

2006-07-06 Thread gel
placid wrote: > gel wrote: > > gel wrote: > > > > > Below is how it is down with vbscript. What is the best way to convert > > > this to python? > > > > > > strComputer = "." > > > Set objWMIService = GetObject("w

Re: How to trap the event of a new process starting with wmi

2006-07-05 Thread gel
gel wrote: > Below is how it is down with vbscript. What is the best way to convert > this to python? > > strComputer = "." > Set objWMIService = GetObject("winmgmts:" _ > & "{impersonationLevel=impersonate}!\\" & strComputer &

How to trap the event of a new process starting with wmi

2006-07-05 Thread gel
Below is how it is down with vbscript. What is the best way to convert this to python? strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colMonitoredProcesses = objWMIService. _ ExecNotificationQuery("s

Re: use var to form name of object

2006-07-05 Thread gel
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.

Re: use var to form name of object

2006-07-05 Thread gel
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 t

Re: use var to form name of object

2006-07-05 Thread gel
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 a

Re: use var to form name of object

2006-07-04 Thread gel
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.

use var to form name of object

2006-07-04 Thread gel
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