Re: [Tutor] cannot pickle instancemethod objects

2007-06-18 Thread hok kakada
នៅថ្ងៃ ពុធ 13 មិថុនា 2007 19:09, Kent Johnson បាន​សរសេរ​ថា ៖ > hok kakada wrote: > >> What kind of object is matcher? Does it have any attributes that are > >> functions? (Not methods you defined for the class, but functions or > >> methods that you assign to attributes of self.) > > > > Actually,

Re: [Tutor] Finding all locations of a sequence (fwd)

2007-06-18 Thread Alan Gauld
> From: Lauren <[EMAIL PROTECTED]> > To: Danny Yoo <[EMAIL PROTECTED]> > Subject: Re: [Tutor] Finding all locations of a sequence > > after I download the one you wrote (which I think I understand > better than > the one listed previous...famous last words, I'm sure), but when I > ask to > impor

Re: [Tutor] sockets

2007-06-18 Thread Alan Gauld
"Linus Nordström" <[EMAIL PROTECTED]> wrote > im having problem whit recv. It will not break the loop if ther are > nothing more to recive. Take a look at the client side of the address book example in my network profgramming topic. It shows an example of breaking out of a recv loop. Another opt

Re: [Tutor] sockets

2007-06-18 Thread Linus Nordström
gusse i use this thread as my own little help thread.. :) im having problem whit recv. It will not break the loop if ther are nothing more to recive. It dose recv all tit should, but then it go another round in the loop and get stuck on recv, as far as print debugging has showed, Dont realy know

Re: [Tutor] Finding all locations of a sequence (fwd)

2007-06-18 Thread Danny Yoo
Hi everyone, Can someone help Lauren? I apologize for this, but I am very time constrained at this moment, and won't be able to reply back for at least a few hours. His question is below. Thanks! -- Forwarded message -- Date: Mon, 18 Jun 2007 16:41:39 -0400 From: Lauren <[EM

Re: [Tutor] Help converting base32 to base16

2007-06-18 Thread Alan Gauld
"Jason Massey" <[EMAIL PROTECTED]> wrote > Nice entry at wikipedia: > > http://en.wikipedia.org/wiki/Base_32 > Thanks for the link, I should have thought of oooking there! I've heardof Base64 for encoding email but never come across Base32 - any of the versions! Alan G. ___

Re: [Tutor] iterating over a sequence question..

2007-06-18 Thread Luke Paireepinart
On 6/18/07, Simon Hooper <[EMAIL PROTECTED]> wrote: Hi Luke, * On 17/06/07, Luke Paireepinart wrote: > a more expanded version that accounts for either list being the longer > one, or both being the same length, would be: > > >>> if len(t) > len(l): x = len(t) > else: x = len(l) > >>> print [

Re: [Tutor] Help converting base32 to base16

2007-06-18 Thread Jason Massey
Nice entry at wikipedia: http://en.wikipedia.org/wiki/Base_32 I like the naming of Base32: *duotrigesimal *Gotta try to work that into a conversation somehow.* * On 6/18/07, Alan Gauld <[EMAIL PROTECTED]> wrote: "cms cms" <[EMAIL PROTECTED]> wrote > Newbie here trying to find a module that I

Re: [Tutor] Help converting base32 to base16

2007-06-18 Thread Alan Gauld
"cms cms" <[EMAIL PROTECTED]> wrote > Newbie here trying to find a module that I can use to convert a > number of > strings (sha1 values) from base32 to base16 (hex), and vice versa. I'm intrigued. What does a base 32 number look like? For example what is 29 in base 32? Or 1022 for that matter?

[Tutor] [Fwd: Re: Help converting base32 to base16]

2007-06-18 Thread Kent Johnson
Forwarding to the list... Original Message Subject: Re: [Tutor] Help converting base32 to base16 Date: Mon, 18 Jun 2007 12:12:46 -0500 From: lucio arteaga <[EMAIL PROTECTED]> To: Kent Johnson <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> You are the se

Re: [Tutor] Help converting base32 to base16

2007-06-18 Thread Kent Johnson
cms cms wrote: > Hello all, > > Newbie here trying to find a module that I can use to convert a number of > strings (sha1 values) from base32 to base16 (hex), and vice versa. I've > searched this list for similar questions, the Global Module Index, the > Vaults of Parnassus, as well as the obvious

Re: [Tutor] Python and XSI

2007-06-18 Thread Alan Gauld
"Vishal Jain" <[EMAIL PROTECTED]> wrote > I am trying to get Python registered with XSI but > everything described in docs failed. OK, I'm assuming that XSI is the 3D Graphics software from Avid? Can you tell us which docs and what exactly 'failed' means? What did you do and what actually happen

Re: [Tutor] Finding all locations of a sequence

2007-06-18 Thread Danny Yoo
> Ok, what I have is a RNA sequence (about 5 million nucleotides > [characters] long) and have (4100) subsequences (from another sequence) > and the sub-sequences are 6 characters long, that I want to find in it. Hi Lauren, I am positive that this problem has been tackled before. Have you ta

[Tutor] Help converting base32 to base16

2007-06-18 Thread cms cms
Hello all, Newbie here trying to find a module that I can use to convert a number of strings (sha1 values) from base32 to base16 (hex), and vice versa. I've searched this list for similar questions, the Global Module Index, the Vaults of Parnassus, as well as the obvious (Google); however , I can

[Tutor] Python and XSI

2007-06-18 Thread Vishal Jain
Hello Guys!! I have just started learning Python couple days back, actually, I am a fresher to programming. I am trying to get Python registered with XSI but everything described in docs failed. I have Python 2.5.1 and Pywin32 build 210 installed. I tried to register Python manually also by runnin

Re: [Tutor] iterating over a sequence question..

2007-06-18 Thread Simon Hooper
Hi Luke, * On 17/06/07, Luke Paireepinart wrote: > a more expanded version that accounts for either list being the longer > one, or both being the same length, would be: > > >>> if len(t) > len(l): x = len(t) > else: x = len(l) > >>> print [(l[i%len(l)],t[i%len(t)]) for i in range(x)] > [(1, '