Re: [Tutor] Programming challenge (C++ and Python)

2005-03-03 Thread Liam Clarke
??? Why am I getting this one as new again? On Tue, 1 Feb 2005 00:20:17 -0800 (PST), Ali Polatel <[EMAIL PROTECTED]> wrote: > Dear Python friends, > I need a favor.I play chess at a chess server with the name > ICC(www.chessclub.com). I want to write a plugin for their interface using >

Re: [Tutor] Re: Q & A

2005-03-03 Thread Danny Yoo
[Meta note to other folks on the list: I'm sorry for letting this post through; I was rushing, and I should have been more careful when going through my moderation queue.] On Fri, 25 Feb 2005, liew choon chui wrote: > Here are two question to need some solution. Hi Lieu Choon Chui, I do not

[Tutor] Re: Q & A

2005-03-03 Thread liew choon chui
Here are two question to need some solution.   1. Explain the difference between an object and a class (Objec Class). Give  one specific example.   2. What is the differences between white box testing and black box testing approches.     Thank You.   Regards, Ernie Liew_

[Tutor] Newbie question.

2005-03-03 Thread Adriaan Louw
Good day   I'm totally new to Python. Wow, what a great language!!!   I want to learn python as quick as possible, for web programming at first, and applications later on. Any leads?   I have an xp windows and ms office machine. (I'm considering linux, but it's a bit daunting?)   How do I ru

Re: [Tutor] Intro for interfacing with Microsoft Access?

2005-03-03 Thread Alan Gauld
> Does anyone know of any online resource that explains how to interface to > Microsoft Access via Python, where the intended audience is someone who > knows Python, but not the Microsoft innards? There is an ODBC module that should allow you to spit SQL at Access. Alan G __

[Tutor] Programming challenge (C++ and Python)

2005-03-03 Thread Ali Polatel
    Dear Python friends,     I need a favor.I play chess at a chess server with the name ICC(www.chessclub.com). I want to write a plugin for their interface using Python.     I don't have any idea about how to write a plugin but I found out that the server administrator has written a Plugin Develo

[Tutor] Proxy

2005-03-03 Thread Ali Polatel
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? regards Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term'___ Tutor maillist - Tutor@pyth

Re: [Tutor] Re: How to read unicode strings from a binary file and display them as plain ascii?

2005-03-03 Thread R. Alan Monroe
print type(stuff), 'stuff', stuff.encode() This prints: stuff [NUL]C[NUL]o[NUL]p[NUL]y[NUL]r[NUL]i[NUL]g[NUL] >> >> >>> I don't understand what you tried to accomplish here. >> >> >> That's evidence of what I failed to accomplish. My expected results >> was to prin

Re: [Tutor] How to use threads ?

2005-03-03 Thread Mark Kels
On Thu, 3 Mar 2005 16:36:05 +, Gwyn Evans <[EMAIL PROTECTED]> wrote: > How are you trying to start another scan? You'd have to create a > new instance, you can't just call app.start() again. Thanks allot !! This is exactly what I was doing wrong. Now it works :) -- 1. The day Microsoft ma

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 +, 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 the 'run' method, which will get called

Re: [Tutor] How to use threads ?

2005-03-03 Thread Mark Kels
On Thu, 3 Mar 2005 14:31:55 +, 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 the 'run' method, which will get called > as a result of you calling 'start()'. > You're calling start(), but you've

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

Re: [Tutor] How to use threads ?

2005-03-03 Thread Mark Kels
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 abc(threading.Thread): > def __init__(self): > threading.Thread

Re: [Tutor] Criticism / Suggestions

2005-03-03 Thread Kent Johnson
Bill Kranec wrote: Hi Kent, First off, thank you so much for the suggestions! They have helped clarify some of the concepts I've been struggling with lately ( mostly object - related ones ). I have been teaching myself Python in my spare time for the last few months, and have no previous progr

Re: [Tutor] Criticism / Suggestions

2005-03-03 Thread Kent Johnson
Bill Kranec wrote: Hi Kent, - The above code depends on roundlist which is not even defined anywhere in the module (just shown in the comment). This suggests again that the init code from the comment should be part of Tournament, and roundlist should be an attribute of Tournament. For a class t

[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 +, 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 > > sug