Re: Killing worker threads

2008-01-07 Thread kyosohma
On Jan 6, 7:48 am, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > tarun wrote: > > Can anyone help me with a simple code through which the main thread can > > kill the worker thread it started. > > it cannot. threads cannot be killed from the "outside". > > The only way to "kill" a thread is to have

Re: Does Python cache the startup module?

2008-01-07 Thread kyosohma
On Jan 7, 12:30 pm, Baz Walter <[EMAIL PROTECTED]> wrote: > Hello > > I remember reading somewhere (probably this list) that python may cache the > module that starts a program (e.g. 'main.py'). I'm asking because I have found > that this can sometimes cause problems when making small edits to the

Re: windows service

2008-01-08 Thread kyosohma
On Jan 7, 6:42 pm, Michael Chesterton <[EMAIL PROTECTED]> wrote: > I'm trying to get a program that uses M2Crypto ThreadingSSLServer to > run in windows as a service. I have a few problem, it doesn't listen > on its port and I don't know how to debug it. > > I used the pipeservice example as a fram

Re: Python or PowerShell ?

2008-01-08 Thread kyosohma
On Jan 8, 1:57 pm, "Martin P. Hellwig" <[EMAIL PROTECTED]> wrote: > Torsten Bronger wrote: > > Hallöchen! > > > [EMAIL PROTECTED] writes: > > >> I am all about using the right tool for the right purposes, [...] > > > Which purpose? > > >> I dug up one article from Google that talked about compariso

Re: Newbie question: Classes

2008-01-08 Thread kyosohma
On Jan 8, 3:31 pm, "Daniel Fetchinson" <[EMAIL PROTECTED]> wrote: > > Basically, I have created a program using tkinter without using any class > > structure, simply creating widgets and functions (and finding ways around > > passing variables from function to function, using global variables etc).

Re: getting absolute path ?

2008-01-09 Thread kyosohma
On Jan 9, 3:22 pm, Stef Mientki <[EMAIL PROTECTED]> wrote: > hello, > > I'm trying to convert the links in html pages to absolute links, > these pages can either be webpages or files on local harddisk (winXP). > Now I've struggling for a while, and this code works a lilttle: > > i = line.find

Re: ISO Python example projects (like in Perl Cookbook)

2008-01-10 Thread kyosohma
On Jan 10, 10:13 am, kj <[EMAIL PROTECTED]> wrote: > I'm looking for "example implementations" of small projects in > Python, similar to the ones given at the end of most chapters of > The Perl Cookbook (2nd edition, isbn: 0596003137). (Unfortunately, > the otherwise excellent Python Cookbook (2nd

Re: SQLObject 0.9.3

2008-01-10 Thread kyosohma
On Jan 10, 6:38 am, Oleg Broytmann <[EMAIL PROTECTED]> wrote: > Hello! > > I'm pleased to announce the 0.9.3 release of SQLObject. > > What is SQLObject > = > > SQLObject is an object-relational mapper. Your database tables are described > as classes, and rows are instances of thos

<    3   4   5   6   7   8