Thanks to everyone for their comments on Python. I am glad to hear that, aside from specific modules, it is pretty much cross-platform as I thought, I just wanted to make certain that my understanding was correct. I am NOT a programmer, though my job responsibilities keep dragging me closer and c
Hi to all, list:
Well, I wanted to ask for some help on some subject. I
have a TreeCtrl with a _treeList variable:
_treeList = [
( 'Parent 1', ['Child 1.1','Child 1.2'] ),
( 'Parent 2', [] ),
( 'Parent 3', [ 'Child 3.1', 'Child 3.2'] ),
( 'Parent 4', ['Child 4'] )
I want to unsubscribe from your python mailing list and anything related
that keeps sending un imagned amount of emails that anrt spam but a bit
of shit. pls Unsubscribe me.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinf
On 8/14/05, Suranga Sarukkali <[EMAIL PROTECTED]> wrote:
> I want to unsubscribe from your python mailing list and anything related
> that keeps sending un imagned amount of emails that anrt spam but a bit
> of shit. pls Unsubscribe me.
>
> ___
> Tutor m
At 09:57 PM 8/14/2005, Suranga Sarukkali wrote:
>I want to unsubscribe from your python mailing list and anything related
>that keeps sending un imagned amount of emails that anrt spam but a bit
>of shit. pls Unsubscribe me.
You are on this list because you subscribed. You must also unsubscribe. C
Hi, Can someone tell me if there is a bulit in Binary search function for
python lists ?
I am currently building lists and sorting them with a comparison function.
The only list search function I know is List.Index(X), which is pretty
inefficient I reckon, especially hen the lists are likely t
> Hi, Can someone tell me if there is a bulit in Binary search function
> for python lists ?
>
> I am currently building lists and sorting them with a comparison
> function. The only list search function I know is List.Index(X), which
> is pretty inefficient I reckon, especially hen the lists are
[EMAIL PROTECTED] wrote:
>
> Hi, Can someone tell me if there is a bulit in Binary search function for
> python lists ?
The bisect module implements a binary search though it doesn't support custom
comparison functions. You could make your list elements be instances of a class
with a __cmp__()
Hello,
Not understanding the proper phraseology for my question I
can’t search the faq so here goes:
I have what I think is a string from socket.recvfrom(…).
I want to turn it into numbers so I tried:
from socket import *
from array import *
data, address = recvfrom (...stuf
I want to unsubscribe from your python mailing list and anything relatedthat keeps sending un imagned amount of emails that anrt spam but a bit
of shit. pls Unsubscribe me.
If you're still subscribed, you may want to
switch over to the digest mode and only get a few emails a day.
This is an active
> I have what I think is a string from socket.recvfrom(...). I want to
> turn it into numbers
Hi Frank,
If you know how those bytes should be interpreted, you may want to look at
the 'struct' module to destructure them back into integers:
http://www.python.org/doc/lib/module-struct.html
Hehe,
Yah, I should've read the tutorial again, I do apologise, it was a 3
in the morning-coffee not working question.
Regards,
Liam Clarke
On 8/17/05, Alan G <[EMAIL PROTECTED]> wrote:
> > changeIndex = None
> > al = len(line)
> > for i in range(al):
>
> And theres the problem.
> Pythonpro
Hi all,
I've got some source code which will be handling non-ASCII chars like
umlauts and what not, and I've got a testing portion stored in the
code.
I get this deprecation warning when I run my code -
__main__:1: DeprecationWarning: Non-ASCII character '\xfc' in file
C:\Python24\testit.py on
No-one's mentioned a Schwartzian Transform yet ; )
On 8/15/05, Kent Johnson <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Note that in Python2.4+, you can use key= instead:
> >
> > def sortKey(lst):
> > return lst[2]
> > Quant.sort(key=sortKey)
> >
> > This is more effient than spe
You'll need the csv module. And that should be about it, I think. The
rest would just be using string methods.
On 8/15/05, Diaz, Wendell <[EMAIL PROTECTED]> wrote:
>
>
>
> Hey guys,
>
>
>
> Hope you can help me on this.
>
>
>
> I want to make a python program which opens an XML (U
mailing list wrote:
> No-one's mentioned a Schwartzian Transform yet ; )
because it's obsoleted by the key parameter to sort...
>
>
>
> On 8/15/05, Kent Johnson <[EMAIL PROTECTED]> wrote:
>
>>[EMAIL PROTECTED] wrote:
>>
>>>Note that in Python2.4+, you can use key= instead:
>>>
>>>def sortKey
16 matches
Mail list logo