(no subject)

2005-03-30 Thread python-list-bounces+archive=mail-archive . com
#! rnews 1551 Newsgroups: comp.lang.python Path: news.xs4all.nl!newsspool.news.xs4all.nl!transit.news.xs4all.nl!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.abs.net!attws2!ip.att.net!NetNews1!xyzzy!nntp From: Harry George [EMAIL PROTECTED] Subject: Re: why and when we should do it? X-Nntp

Use informative subject lines! (was Re: Dumb*ss newbie Q)

2005-03-27 Thread beliavsky
A subject line should say what the message is about, for example Create HTML tag using objects (newbie Q) and enable people who are not interested in or knowledgable about a topic to skip it, while grabbing the attention of people who are knowledgable/interested. -- http://mail.python.org

(no subject)

2005-03-25 Thread python-list-bounces+archive=mail-archive . com
#! rnews 1995 Newsgroups: comp.lang.python Path: news.xs4all.nl!newsspool.news.xs4all.nl!transit.news.xs4all.nl!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.abs.net!attws2!ip.att.net!NetNews1!xyzzy!nntp From: Jeff Sandys [EMAIL PROTECTED] Subject: Re: Python for a 10-14 years old? X-Nntp

(no subject)

2005-03-24 Thread python-list-bounces+archive=mail-archive . com
#! rnews 2393 Newsgroups: comp.lang.python Path: news.xs4all.nl!newsspool.news.xs4all.nl!transit.news.xs4all.nl!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.abs.net!attws2!ip.att.net!NetNews1!xyzzy!nntp From: Harry George [EMAIL PROTECTED] Subject: Re: Getting the word to conventional

(no subject)

2005-03-15 Thread praveen tayal
Hi Guys, I am having problems in the following C API program where myOtim_system is callable from python function. The module is listed below - static PyObject * myOptim_system(PyObject *self, PyObject *args) { const char *command; double u0, v0, u1, v1, u2, v2, u3, v3; int

(no subject)

2005-03-06 Thread Mário Gamito
-- http://mail.python.org/mailman/listinfo/python-list

(no subject)

2005-03-04 Thread python-list-bounces+archive=mail-archive . com
#! rnews 2494 Newsgroups: comp.lang.python Path: news.xs4all.nl!newsspool.news.xs4all.nl!transit.news.xs4all.nl!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wns13feed!worldnet.att.net!12.120.4.37!attcg2!ip.att.net!xyzzy!nntp From: Jeff Sandys [EMAIL PROTECTED] Subject: Re: Delete first line

(no subject)

2005-03-01 Thread python-list-bounces+archive=mail-archive . com
#! rnews 1106 Newsgroups: comp.lang.python Path: news.xs4all.nl!newsspool.news.xs4all.nl!transit.news.xs4all.nl!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wns13feed!worldnet.att.net!12.120.4.37!attcg2!ip.att.net!xyzzy!nntp From: Jeff Sandys [EMAIL PROTECTED] Subject: Re: Delete first line

(no subject)

2005-02-04 Thread Dan Smyth
Hey, I'm trying to compile a version of Python on an SGI machine that is running IRIX 6.5. When I run the configure option for version 2.4 I get this error: configure: WARNING: stropts.h: present but cannot be compiledconfigure: WARNING: stropts.h: check for missing prerequisite

(no subject)

2005-02-01 Thread Dan Smyth
Hey, I'm trying to compile python 2.4 on an SGI machine. The configure program shot back this error and told me to post it to the Python lists. Anyone know what's going on? configure: WARNING: stropts.h: present but cannot be compiledconfigure: WARNING: stropts.h: check for missing

(no subject)

2005-01-26 Thread fireeagle
Subscribe -- http://mail.python.org/mailman/listinfo/python-list

(no subject)

2004-12-28 Thread Ouz Aylan
-- http://mail.python.org/mailman/listinfo/python-list

(no subject)

2004-12-23 Thread Ran Libeskind-Hadas
From: Ran Libeskind-Hadas (via the vacation program) Subject: Your e-mail This message was generated automatically in response to your e-mail. I will be traveling and away from my e-mail until Tuesday, December 28. I will respond to your e-mail when I return. Thank you, Ran -- http

Re: create lowercase strings in lists - was: (No subject)

2004-12-17 Thread Mark Devine
Thanks for the help. This is the final script: #!/usr/bin/env python import os import sys import time import string import pexpect import commands # Test if the words of list2 elements appear in any order in list1 elements # disregarding case and parens # Reference list list1 = [a b C (D), D A

Re: create lowercase strings in lists - was: (No subject)

2004-12-17 Thread Steven Bethard
Mark Devine wrote: the trouble is it throws up the following error for set: $ ./test.py Traceback (most recent call last): File ./test.py, line 23, in ? reflist = [normalize(element) for element in list1] File ./test.py, line 20, in normalize return set(text.split()) NameError: global

Re: create lowercase strings in lists - was: (No subject)

2004-12-17 Thread Mark Devine
Thanks. This version is the version that comes with cygwin. They must be behind. Steven Bethard [EMAIL PROTECTED] wrote: Mark Devine wrote: the trouble is it throws up the following error for set: $ ./test.py Traceback (most recent call last): File ./test.py, line 23, in ?

Re: create lowercase strings in lists - was: (No subject)

2004-12-17 Thread Mark Devine
I got the script working. Thanks for all your help everyone. Trouble is its not showing the correct results. Here is the script and results: #!/usr/bin/env python import os import sys import time import string import pexpect import commands from sets import Set as set # Test if the words of

Re: create lowercase strings in lists - was: (No subject)

2004-12-17 Thread Mark Devine
If I use: if el.issubset(testelement): I get a closer anwser but the brackets cause a problem. They are optional in the test list so (D) in the test list is equal to D or (D) in the reference list. Mark Devine [EMAIL PROTECTED] wrote: I got the script working. Thanks for all your help

Re: create lowercase strings in lists - was: (No subject)

2004-12-17 Thread Peter Otten
Mark Devine wrote: I got the script working. Thanks for all your help everyone. Trouble is its not showing the correct results. Here is the script and results: In my book it is not working then. def normalize(text, unwanted = (), table =

Re: create lowercase strings in lists - was: (No subject)

2004-12-17 Thread Steve Holden
Mark Devine wrote: I got the script working. Thanks for all your help everyone. Trouble is its not showing the correct results. Here is the script and results: Well, that's a pretty unusual interpretation of the word working :-) [...] I see from later postings you are getting closer to an

Fwd: Re: create lowercase strings in lists - was: (No subject)

2004-12-17 Thread Mark Devine
I got this working now. Thanks everybody for your help. _ Sign up for eircom broadband now and get a free two month trial.* Phone 1850 73 00 73 or visit http://home.eircom.net/broadbandoffer ---BeginMessage--- Happy to help. Pass it

(No subject)

2004-12-16 Thread Mark Devine
Hi I'm brand new to python and I was wondering if anybody knew of a easy way to change every character in a list into its lower case form. The list is like so: commands = ['CLASS-MAP MATCH-ALL cmap1', 'MaTch Ip AnY', 'CLASS-map Match-Any cmap2', 'MaTch AnY', 'Policy-map policy1', 'Class

lowering the case of strings in list -- WAS: (No subject)

2004-12-16 Thread Brian van den Broek
-any cmap2', 'match any', 'policy-map policy1', 'class cmap1', 'policy-map policy2', 'service-policy policy1', 'class cmap2'] Best, Brian vdB PS No subject is only marginally better than HELP!! ;-) -- http://mail.python.org/mailman/listinfo/python-list

Re: create lowercase strings in lists - was: (No subject)

2004-12-16 Thread Steve Holden
Mark Devine wrote: Sorry for not putting a subject in the last e-mail. The function lower suited my case exactly. Here however is my main problem: Given that my new list is : [class-map match-all cmap1', 'match ip any', 'class-map match-any cmap2', 'match any', 'policy-map policy1', 'class cmap1

Re: create lowercase strings in lists - was: (No subject)

2004-12-16 Thread Mike Meyer
Mark Devine [EMAIL PROTECTED] writes: Sorry for not putting a subject in the last e-mail. The function lower suited my case exactly. Here however is my main problem: Given that my new list is : [class-map match-all cmap1', 'match ip any', 'class-map match-any cmap2', 'match any', 'policy

Re: create lowercase strings in lists - was: (No subject)

2004-12-16 Thread Steve Holden
: Sorry for not putting a subject in the last e-mail. The function lower suited my case exactly. Here however is my main problem: Given that my new list is : [class-map match-all cmap1', 'match ip any', 'class-map match-any cmap2', 'match any', 'policy-map policy1', 'class cmap1', 'policy-map

Re: create lowercase strings in lists - was: (No subject)

2004-12-16 Thread Mark Devine
of the first list appear in any order within any element of the second list I want a match but if any of the words are missing then there is no match. There are far more elements in list 2 than in list 1. Steve Holden [EMAIL PROTECTED] wrote: Mark Devine wrote: Sorry for not putting a subject

Re: create lowercase strings in lists - was: (No subject)

2004-12-16 Thread Mike Meyer
Steve Holden [EMAIL PROTECTED] writes: Mark Devine wrote: Actually what I want is element 'class-map match-all cmap1' from list 1 to match 'class-map cmap1 (match-all)' or 'class-map cmap1 mark match-all done' in list 2 but not to match 'class-map cmap1'. Each element in both lists have

create lowercase strings in lists - was: (No subject)

2004-12-16 Thread Diez B. Roggisch
Helpful subjects help commands = [c.lower() for c in commands] -- Regards, Diez B. Roggisch -- http://mail.python.org/mailman/listinfo/python-list

Re: create lowercase strings in lists - was: (No subject)

2004-12-16 Thread Mark Devine
Sorry for not putting a subject in the last e-mail. The function lower suited my case exactly. Here however is my main problem: Given that my new list is : [class-map match-all cmap1', 'match ip any', 'class-map match-any cmap2', 'match any', 'policy-map policy1', 'class cmap1', 'policy-map

(no subject)

2004-12-12 Thread FETCHMAIL-DAEMON
: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Question Date: Mon, 13 Dec 2004 11:39:13 +0530 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary==_NextPart_000_0016=_NextPart_000_0016 X-Priority: 3 X-MSMail-Priority: Normal X-Spam-Filtered: 0631cd96faabc64bd1deb3fa09f65716 X

<    1   2   3   4   5   6