Re: [Tutor] Proxy

2005-03-04 Thread Gwyn Evans
On Sat, 29 Jan 2005 16:23:29 -0800 (PST), Ali Polatel <[EMAIL PROTECTED]> wrote: > is it possible to connect to somewhere through a proxy while using sockets > module of Python to connect? If yes can you show me some basic examples? Yes, but not auto-magically. If you want to stay at the sockets

Re: [Tutor] Newbie question.

2005-03-04 Thread Gwyn Evans
On Fri, 28 Jan 2005 09:42:07 +0200, Adriaan Louw <[EMAIL PROTECTED]> wrote: > I want to learn python as quick as possible, for web programming at first, > and applications later on. Any leads? Hi, I'd start with the basic python tutorials, then have a look at something like CherryPy (http://www

Re: [Tutor] How to use threads ?

2005-03-03 Thread Gwyn Evans
On Thu, 3 Mar 2005 17:53:11 +0200, Mark Kels <[EMAIL PROTECTED]> wrote: > On Thu, 3 Mar 2005 14:31:55 +0000, Gwyn Evans <[EMAIL PROTECTED]> wrote: > > Hi, > > The one thing that stands out is that when you subclass Thread as > > you do, you need to override

Re: [Tutor] How to use threads ?

2005-03-03 Thread Gwyn Evans
On Thu, 3 Mar 2005 16:04:28 +0200, Mark Kels <[EMAIL PROTECTED]> wrote: > On Wed, 2 Mar 2005 14:48:11 -0800 (PST), Shitiz Bansal > <[EMAIL PROTECTED]> wrote: > > The thread finishes when: > > 1.The run method finishes. > > 2.In case of the loop- you may - > > > > >>> import threading > > >>> class

[Tutor] Re: Threaded persistance?

2005-03-03 Thread Gwyn Evans
On Wed, 2 Mar 2005 21:15:50 +, Gwyn Evans <[EMAIL PROTECTED]> wrote: > On Wed, 2 Mar 2005 20:34:18 +0000, Gwyn Evans <[EMAIL PROTECTED]> wrote: > > I had a look at using ZODB but hit problems when trying to have two > > connections to the same FileStorage DB,

[Tutor] Re: Threaded persistance?

2005-03-02 Thread Gwyn Evans
On Wed, 2 Mar 2005 20:34:18 +, Gwyn Evans <[EMAIL PROTECTED]> wrote: > I had a look at using ZODB but hit problems when trying to have two > connections to the same FileStorage DB, but a second look at things > suggested that dbm might well do what I need, if I ensure only on

Re: [Tutor] Threaded persistance?

2005-03-02 Thread Gwyn Evans
On Wed, 02 Mar 2005 15:53:17 -0500, Kent Johnson <[EMAIL PROTECTED]> wrote: > Gwyn Evans wrote: > > Hi, > > New to Python, but with Java background I'm interested in > > comments/suggestions for something I'm trying... > > > > I've g

[Tutor] Threaded persistance?

2005-03-02 Thread Gwyn Evans
Hi, New to Python, but with Java background I'm interested in comments/suggestions for something I'm trying... I've got a series of events (basically a dictionary of a few key:value pairs) which I'd like to forward onto a web service. That should be no problem, but I'm investigating what I c