|
Prev: Python 2.4 decompiler
Next: Expected Value
From: Jan Gregor on 9 Sep 2005 03:33 Hello I run python script on another computer and want to "survive" that script after my logout. the script also uses drive mapping to network drive. Can you help me ? Or better is there some info for unix person how to survive with python on windows ;-) thanks, jan gregor
From: Harlin Seritt on 9 Sep 2005 07:04 Hi Jan, Unfortunately you will have to register it as a service. I am almost certain there is no other way to do it. However, setting up an executable as a true Windows Service is extremely tedious. You can try this utility that I use. You can get it here: http://www.seritt.org/pub/srvinst13b.exe. I'm probably not supposed to distribute it, but the site and owners that used to host it have gone belly up best that I can tell. As with anything, use it at your own risk. I found it as freeware a few months back. If you want a decent cheap solution, FireDaemon is pretty good. I think it's like 30USD but it does a great job and adds a few extra features. HTH, Harlin Seritt Internet Villa: www.seritt.org
From: Benji York on 9 Sep 2005 08:41 Jan Gregor wrote: > I run python script on another computer and want to "survive" that > script after my logout. Start at http://www.python.org/windows/win32/#NTServices. -- Benji York
From: Larry Bates on 9 Sep 2005 09:39 Making a Python program into a service isn't all that "tedious". Get a copy of Mark Hammonds "Python Programming on Win32" which contains excellent examples on how to do this. I've written several and after the first one, it is quite easy to do. -Larry Bates Harlin Seritt wrote: > Hi Jan, > > Unfortunately you will have to register it as a service. I am almost > certain there is no other way to do it. However, setting up an > executable as a true Windows Service is extremely tedious. You can try > this utility that I use. You can get it here: > http://www.seritt.org/pub/srvinst13b.exe. I'm probably not supposed to > distribute it, but the site and owners that used to host it have gone > belly up best that I can tell. As with anything, use it at your own > risk. I found it as freeware a few months back. > > If you want a decent cheap solution, FireDaemon is pretty good. I think > it's like 30USD but it does a great job and adds a few extra features. > > HTH, > > Harlin Seritt > Internet Villa: www.seritt.org >
From: Roger Upole on 9 Sep 2005 10:12
You can use the Task Scheduler to run a script persistently if you don't need the capabilities of the service framework. Roger "Jan Gregor" <gregor.jan(a)NOSPAM.quick.cz> wrote in message news:dfrdds$l4m$1(a)ns.felk.cvut.cz... > Hello > > I run python script on another computer and want to "survive" that > script after my logout. the script also uses drive mapping to network drive. > > Can you help me ? Or better is there some info for unix person how > to survive with python on windows ;-) > > thanks, > jan gregor ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups ----= East and West-Coast Server Farms - Total Privacy via Encryption =---- |