AIX Subversion Python Swig Bindings fix for core dump

2007-12-05 Thread Reedick, Andrew
If you're on AIX and Python immediately dumps core when trying to import any SVN module, then adding "-Wl,-brtl" to LINKFORSHARED in the Makefile seems to fix the problem. Bad: > LINKFORSHARED=-Wl,-bE:Modules/python.exp -lld Good: < LINKFORSHARED=-Wl,-bE:Modules/python.exp -lld

dictionary/hash and '1' versus 1

2008-01-03 Thread Reedick, Andrew
As a Perl monkey in the process of learning Python, I just stepped on the "'1' (string) is not the same as 1 (integer) in regards to keys for dictionaries/hashes" landmine. Is there a good way to ensure that numbers represented as strings or ints do not get mixed up as keys? Example of the proble

RE: dictionary/hash and '1' versus 1

2008-01-04 Thread Reedick, Andrew
> From: Stephen Hansen [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 03, 2008 7:39 PM > To: Reedick, Andrew > Cc: python-list@python.org > Subject: Re: dictionary/hash and '1' versus 1 > > > > Well one important thing to learn while learning Pyt

RE: dictionary/hash and '1' versus 1

2008-01-07 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Steven D'Aprano > Sent: Saturday, January 05, 2008 7:01 PM > To: python-list@python.org > Subject: Re: dictionary/hash and '1' versus 1 > > The problem with automatic conversions between strin

RE: dictionary/hash and '1' versus 1

2008-01-07 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Paddy > Sent: Monday, January 07, 2008 12:52 PM > To: python-list@python.org > Subject: Re: dictionary/hash and '1' versus 1 > > Or how using different operators for similar operations on differ

RE: 'Borg' and multiple threads.

2008-01-09 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Tobiah > Sent: Monday, January 07, 2008 5:24 PM > To: python-list@python.org > Subject: 'Borg' and multiple threads. > > I have a class that I call Borg that starts like this: > > class Borg(

RE: printing dots in simple program while waiting

2008-01-09 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Martin Marcher > Sent: Wednesday, January 09, 2008 11:57 AM > To: python-list@python.org > Subject: Re: printing dots in simple program while waiting > > John wrote: > > > import time > > s =

RE: problem of converting a list to dict

2008-01-09 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Fredrik Lundh > Sent: Wednesday, January 09, 2008 2:39 PM > To: python-list@python.org > Subject: Re: problem of converting a list to dict > > [EMAIL PROTECTED] wrote: > > >> to see what's goin

RE: problem of converting a list to dict

2008-01-09 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of John Machin > Sent: Wednesday, January 09, 2008 3:02 PM > To: python-list@python.org > Subject: Re: problem of converting a list to dict > > On Jan 10, 6:52 am, &

RE: Newbie question on Classes

2008-01-10 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Adrian Wood > Sent: Thursday, January 10, 2008 4:47 PM > To: python-list@python.org > Subject: Newbie question on Classes > > > I can call man.state() and then woman.state() or Person.state(man

RE: python recursive function

2008-01-11 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Tom_chicollegeboy > Sent: Friday, January 11, 2008 3:30 AM > To: python-list@python.org > Subject: python recursive function > > Now, you are to write a program that, if I give you n bears, re

RE: reading a specific column from file

2008-01-11 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Ivan Novick > Sent: Friday, January 11, 2008 12:46 PM > To: python-list@python.org > Subject: Re: reading a specific column from file > > > You say you would like to "read" a specific column.

RE: split parameter line with quotes

2008-01-11 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of teddyber > Sent: Friday, January 11, 2008 1:51 PM > To: python-list@python.org > Subject: split parameter line with quotes > > Hello, > > first i'm a newbie to python (but i searched the Inte

RE: Newbie question on Classes

2008-01-11 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of John Machin > Sent: Friday, January 11, 2008 4:08 PM > To: python-list@python.org > Subject: Re: Newbie question on Classes > > On Jan 11, 9:27 am, "Reedick, Andr

RE: alternating string replace

2008-01-11 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of cesco > Sent: Wednesday, January 09, 2008 5:34 AM > To: python-list@python.org > Subject: alternating string replace > > Hi, > > say I have a string like the following: > s1 = 'hi_cat_bye_dog'

RE: encrypting python modules

2008-01-14 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Paul Sijben > Sent: Friday, January 11, 2008 4:45 AM > To: python-list@python.org > Subject: encrypting python modules > > > The problem: I have a client-server app written in python. I want to

RE: __init__ explanation please

2008-01-14 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Hrvoje Niksic > Sent: Monday, January 14, 2008 11:29 AM > To: python-list@python.org > Subject: Re: __init__ explanation please > > Mel <[EMAIL PROTECTED]> writes: > > >> I don't understand the

RE: __init__ explanation please

2008-01-15 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Lie > Sent: Tuesday, January 15, 2008 5:03 PM > To: python-list@python.org > Subject: Re: __init__ explanation please > > I've been in this Python mailing list for a few days, and I've noticed >

RE: Creating unique combinations from lists

2008-01-16 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of breal > Sent: Wednesday, January 16, 2008 2:15 PM > To: python-list@python.org > Subject: Creating unique combinations from lists > > I have three lists... for instance > > a = ['big', 'small

RE: Creating unique combinations from lists

2008-01-17 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Tim Chase > Sent: Wednesday, January 16, 2008 3:40 PM > To: breal > Cc: python-list@python.org > Subject: Re: Creating unique combinations from lists > > You can use a recursive generator: > >

RE: Creating unique combinations from lists

2008-01-17 Thread Reedick, Andrew
> -Original Message- > From: Tim Chase [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 17, 2008 10:30 AM > To: Reedick, Andrew > Cc: breal; python-list@python.org; [EMAIL PROTECTED] > Subject: Re: Creating unique combinations from lists > > Yick...a nice demo o

RE: How to use only a sub shell to execute many commands in python

2008-01-18 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of raocheng > Sent: Friday, January 18, 2008 6:31 AM > To: python-list@python.org > Subject: How to use only a sub shell to execute many commands in python > > Please see the following code. > Supp

RE: how to resolve Windows pathnames into cygwin ones

2008-01-18 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] > Sent: Friday, January 18, 2008 11:11 AM > To: python-list@python.org > Subject: how to resolve Windows pathnames into cygwin ones > > I am looking for a function to resolve '

RE: Filtering two files with uncommon column

2008-01-18 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Madhur > Sent: Friday, January 18, 2008 4:23 AM > To: python-list@python.org > Subject: Filtering two files with uncommon column > > > Basically I want to compare the two files based on second

RE: Stripping whitespace

2008-01-23 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of ryan k > Sent: Wednesday, January 23, 2008 3:24 PM > To: python-list@python.org > Subject: Re: Stripping whitespace > > On Jan 23, 3:02 pm, John Machin <[EMAIL PROTECTED]> wrote: > > On Jan 24,

RE: Stripping whitespace

2008-01-24 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of John Machin > Sent: Wednesday, January 23, 2008 5:48 PM > To: python-list@python.org > Subject: Re: Stripping whitespace > > On Jan 24, 7:57 am, "Reedick, Andr

RE: piping into a python script

2008-01-24 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Donn > Sent: Thursday, January 24, 2008 12:03 PM > To: Michał Bentkowski > Cc: python-list@python.org > Subject: Re: piping into a python script > > I have tested getopt and it strips the lone '

RE: Python noob SOS (any [former?] Perlheads out there?)

2008-01-29 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of kj > Sent: Tuesday, January 29, 2008 11:39 AM > To: python-list@python.org > Subject: Python noob SOS (any [former?] Perlheads out there?) > > > > For many months now I've been trying to learn

RE: Using Regular Expressions to Parse SQL

2008-02-05 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] > Sent: Tuesday, February 05, 2008 9:31 AM > To: python-list@python.org > Subject: Using Regular Expressions to Parse SQL > > > My pattern does not even come close. > > Any

RE: Why not a Python compiler?

2008-02-06 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Luis M. González > Sent: Tuesday, February 05, 2008 6:44 PM > To: python-list@python.org > Subject: Re: Why not a Python compiler? > > > Pypy is a very ambitious project and it aims, amongst m

RE: Why not a Python compiler?

2008-02-06 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Grant Edwards > Sent: Wednesday, February 06, 2008 10:35 AM > To: python-list@python.org > Subject: Re: Why not a Python compiler? > > On 2008-02-06, Reedick, Andrew &

RE: Why not a Python compiler?

2008-02-07 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Torsten Bronger > Sent: Thursday, February 07, 2008 3:32 PM > To: python-list@python.org > Subject: Re: Why not a Python compiler? > > > > > I wonder if George Lucas intended it as a joke or if

RE: keyword 'in' not returning a bool?

2008-02-08 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of c james > Sent: Friday, February 08, 2008 12:10 PM > To: python-list@python.org > Subject: keyword 'in' not returning a bool? > > Try this > > >>> sample = {'t':True, 'f':False} > >>> 't' in

RE: Why not a Python compiler?

2008-02-08 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Grant Edwards > Sent: Friday, February 08, 2008 12:46 PM > To: python-list@python.org > Subject: Re: Why not a Python compiler? > > On 2008-02-08, Arnaud Delobelle <[EMAIL PROTECTED]> wrote: >

RE: CSV Reader

2008-02-11 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Mike P > Sent: Monday, February 11, 2008 11:42 AM > To: python-list@python.org > Subject: Re: CSV Reader > > Cheers for the help, the second way looked to be the best in the end, > and thanks fo

RE: CSV Reader

2008-02-11 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Mike P > Sent: Monday, February 11, 2008 11:10 AM > To: python-list@python.org > Subject: Re: CSV Reader > > Hi Larry, > > i'm still getting to grips with python, but rest assured i thinkn it'

RE: CSV Reader

2008-02-12 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Mike P > Sent: Tuesday, February 12, 2008 5:37 AM > To: python-list@python.org > Subject: Re: CSV Reader > > just saw i needed to change record.startswith to row.startswith > but i get hte follo

RE: Word document accessing using python

2008-02-13 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Hari > Sent: Wednesday, February 13, 2008 8:40 AM > To: python-list@python.org > Subject: Word document accessing using python > > Hello, > I want to fetch some data from the work document and t

RE: Regular Expression for Prime Numbers (or How I came to fail at them, and love the bomb)

2008-02-13 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] > Sent: Wednesday, February 13, 2008 1:41 PM > To: python-list@python.org > Subject: Re: Regular Expression for Prime Numbers (or How I came to > fail at them, and love the bomb

RE: Word document accessing using python

2008-02-13 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Juan_Pablo > Sent: Wednesday, February 13, 2008 1:07 PM > To: python-list@python.org > Subject: Re: Word document accessing using python > > > > import win32com.client > > but, window32com.cl

RE: Solve a Debate

2008-02-15 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of nexes > Sent: Friday, February 15, 2008 11:25 AM > To: python-list@python.org > Subject: Solve a Debate > > Alright so me and my friend are having argument. > > Ok the problem we had been asked

RE: Looking for a Python Program/Tool That Will Add Line Numbers to atxt File

2008-02-18 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of William Pursell > Sent: Monday, February 18, 2008 8:37 AM > To: python-list@python.org > Subject: Re: Looking for a Python Program/Tool That Will Add Line > Numbers to atxt File > > On Feb 14, 6

RE: Article of interest: Python pros/cons for the enterprise

2008-02-21 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Tim Chase > Sent: Wednesday, February 20, 2008 8:58 AM > To: estherschindler > Cc: python-list@python.org > Subject: Re: Article of interest: Python pros/cons for the enterprise > > > Oh noes!

RE: Last 4 Letters of String

2008-02-21 Thread Reedick, Andrew
How would you get the last 4 items of a list? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Rawlins - Think Blue Sent: Thursday, February 21, 2008 11:36 AM To: python-list@python.org Subject: Last 4 Letters of String Hello Guys, I'm looking for a function whic

RE: Last 4 Letters of String

2008-02-25 Thread Reedick, Andrew
> -Original Message- > From: Tim Chase [mailto:[EMAIL PROTECTED] > Sent: Monday, February 25, 2008 8:34 AM > To: Reedick, Andrew > Cc: Robert Rawlins - Think Blue; python-list@python.org > Subject: Re: Last 4 Letters of String > > > How would you get the last

RE: List Combinations

2008-03-12 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Shane Geiger > Sent: Wednesday, March 12, 2008 10:33 AM > To: Michael Wieher > Cc: python-list@python.org > Subject: Re: List Combinations > > > > > > def gen(lists): > out = '[' + ','.jo

RE: Joseph Weizenbaum

2008-03-14 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Aahz > Sent: Friday, March 14, 2008 2:05 PM > To: python-list@python.org > Subject: RIP: Joseph Weizenbaum > > Creator of Eliza: > > http://www-tech.mit.edu/V128/N12/weizenbaum.html > -- How d

RE: What Programming Languages Should You Learn Next?

2008-03-20 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Donn Cave > Sent: Thursday, March 20, 2008 3:39 PM > To: python-list@python.org > Subject: Re: What Programming Languages Should You Learn Next? > > > Worth repeating. > > One of the perhaps s

RE: Haskell vs ??

2008-03-20 Thread Reedick, Andrew
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Michael Wieher > Sent: Thursday, March 20, 2008 4:36 PM > To: python-list@python.org > Subject: Haskell vs ?? > > Just to help clear up my own understanding of this discussion, this > is basically a language that obfuscates de

RE: Element Tree Help

2008-03-24 Thread Reedick, Andrew
Robert Rawlins wrote: > I have little to no experiance with element tree and I'm struggling to > find a way to parse the details from the XML document (attached) into > my application. Essentialy I'm looking to take the following document > and turn it into a dict of tuples, each dict element de

RE: Guido's new method definition idea

2008-12-08 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Aaron Brady > Sent: Monday, December 08, 2008 3:27 PM > To: python-list@python.org > Subject: Re: Guido's new method definition idea > > On Dec 7, 4:23 pm, Philip Slate <[EMAIL PROTECTED]> wrot

RE: Array of dict or lists or ....?

2008-10-07 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Pat > Sent: Tuesday, October 07, 2008 10:16 PM > To: python-list@python.org > Subject: Re: Array of dict or lists or ? > > > The Perl routine works fine and I'd like to emulate that behavi

RE: parsing MS word docs -- tutorial request

2008-10-29 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: Tuesday, October 28, 2008 10:26 AM > To: python-list@python.org > Subject: parsing MS word docs -- tutorial request > > All, > > I am trying to write a script that w

RE: exists=false, but no complaint when i open it!?

2008-05-15 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Reedick, Andrew > Sent: Thursday, May 15, 2008 12:11 PM > To: globalrev; python-list@python.org > Subject: RE: exists=false, but no complaint when i open it!? > > &g

RE: exists=false, but no complaint when i open it!?

2008-05-15 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of globalrev > Sent: Thursday, May 15, 2008 12:04 PM > To: python-list@python.org > Subject: exists=false, but no complaint when i open it!? > > print os.path.exists('C:\Users\saftarn\Desktop\NetFl

RE: webspider, regexp not working, why?

2008-05-23 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: Friday, May 23, 2008 12:43 PM > To: python-list@python.org > Subject: webspider, regexp not working, why? > > url = re.compile(r"^((ht|f)tp(s?)\:\/\/|~/|/)?([\w]+:\

RE: regex help

2008-06-03 Thread Reedick, Andrew
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of Support Desk > Sent: Tuesday, June 03, 2008 9:32 AM > To: python-list@python.org > Subject: regex help > > I am trying to put together a regular expression that will > rename users address books on our server due to a recent >

RE: New variable?

2008-06-03 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of tmallen > Sent: Tuesday, June 03, 2008 2:41 PM > To: python-list@python.org > Subject: New variable? > > What's the proper way to instantiate a new variable? x = ""? I've always used X

RE: Iterate creating variables?

2008-06-13 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Diez B. Roggisch > Sent: Friday, June 13, 2008 11:21 AM > To: python-list@python.org > Subject: Re: Iterate creating variables? > > [EMAIL PROTECTED] schrieb: > > I have twenty-five checkboxes

RE: Iterate creating variables?

2008-06-13 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] > Sent: Friday, June 13, 2008 11:11 AM > To: python-list@python.org > Subject: Iterate creating variables? > > I have twenty-five checkboxes I need to create (don't ask): >

RE: Freeze problem with Regular Expression

2008-06-25 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Kirk > Sent: Wednesday, June 25, 2008 11:20 AM > To: python-list@python.org > Subject: Freeze problem with Regular Expression > > Hi All, > the following regular expression matching seems to en

RE: How make regex that means "contains regex#1 but NOT regex#2" ??

2008-07-01 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: Tuesday, July 01, 2008 2:29 AM > To: python-list@python.org > Subject: How make regex that means "contains regex#1 but NOT regex#2" > ?? > > I'm looking over the do

RE: How make regex that means "contains regex#1 but NOT regex#2" ??

2008-07-01 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Reedick, Andrew > Sent: Tuesday, July 01, 2008 10:07 AM > To: [EMAIL PROTECTED]; python-list@python.org > Subject: RE: How make regex that means "contains re

RE: 'if name is not None:' v. 'if name:'

2008-07-15 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Victor Noagbodji > Sent: Tuesday, July 15, 2008 3:44 PM > To: python-list@python.org > Subject: Re: 'if name is not None:' v. 'if name:' > > >>what's the difference between these two statement

RE: 'if name is not None:' v. 'if name:'

2008-07-15 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Reedick, Andrew > Sent: Tuesday, July 15, 2008 4:13 PM > To: Victor Noagbodji; python-list@python.org > Subject: RE: 'if name is not None:' v. 'if name:&#

RE: properly delete item during "for item in..."

2008-07-17 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Ratko > Sent: Thursday, July 17, 2008 12:27 PM > To: python-list@python.org > Subject: properly delete item during "for item in..." > > Say you have something like this: > > for item in myLis

RE: New to Python, familiar with Perl - Seeking info sources

2008-07-24 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Brett Ritter > Sent: Thursday, July 24, 2008 9:54 AM > To: python-list@python.org > Subject: New to Python, familiar with Perl - Seeking info sources > > After many years happily coding Perl,

RE: Monitor and compare two log files in real time

2008-08-06 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of m > Sent: Wednesday, August 06, 2008 1:25 PM > To: python-list@python.org > Subject: Monitor and compare two log files in real time > > I have a script I would like to write but I am not sure

RE: Is this a good time to start learning python?

2008-03-31 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Rui Maciel > Sent: Monday, March 31, 2008 12:41 PM > To: python-list@python.org > Subject: Is this a good time to start learning python? > > Recently I woke up inclined to take up the task of l

RE: Is this a good time to start learning python?

2008-04-01 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Ant > Sent: Monday, March 31, 2008 5:58 PM > To: python-list@python.org > Subject: Re: Is this a good time to start learning python? > > On Mar 31, 5:40 pm, Rui Maciel <[EMAIL PROTECTED]> wrot

RE: Stripping scripts from HTML with regular expressions

2008-04-09 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Michel Bouwmans > Sent: Wednesday, April 09, 2008 3:38 PM > To: python-list@python.org > Subject: Stripping scripts from HTML with regular expressions > > Hey everyone, > > I'm trying to stri

RE: Stripping scripts from HTML with regular expressions

2008-04-09 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Michel Bouwmans > Sent: Wednesday, April 09, 2008 3:38 PM > To: python-list@python.org > Subject: Stripping scripts from HTML with regular expressions > > Hey everyone, > > I'm trying to stri

RE: basic python question about for loop

2008-04-09 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of jmDesktop > Sent: Wednesday, April 09, 2008 4:51 PM > To: python-list@python.org > Subject: basic python question about for loop > > >From the Python.org tutorial: > > >>> for n in range(2, 1

RE: basic python question about for loop

2008-04-09 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of jmDesktop > Sent: Wednesday, April 09, 2008 5:04 PM > To: python-list@python.org > Subject: Re: basic python question about for loop > > > > > > >>> for n in range(2, 10): > > > ...     for x

RE: How can I use quotes without escaping them using CSV?

2008-04-09 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of jeffself > Sent: Wednesday, April 09, 2008 5:11 PM > To: python-list@python.org > Subject: How can I use quotes without escaping them using CSV? > > > If I put an escape character in, it work

RE: Stripping scripts from HTML with regular expressions

2008-04-10 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Michel Bouwmans > Sent: Wednesday, April 09, 2008 5:44 PM > To: python-list@python.org > Subject: RE: Stripping scripts from HTML with regular expressions > > > Thanks! That did the trick. :) I

RE: vary number of loops

2008-04-16 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Tim Chase > Sent: Wednesday, April 16, 2008 9:53 AM > To: [EMAIL PROTECTED] > Cc: python-list@python.org > Subject: Re: vary number of loops > > > > > If n=3, I want to have 3 sets of elements

RE: Python Success stories

2008-04-23 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of azrael > Sent: Tuesday, April 22, 2008 6:26 AM > To: python-list@python.org > Subject: Python Success stories > > Hy guys, > A friend of mine i a proud PERL developer which always keeps making >

RE: How to modify meaning of builtin function "not" to "!"?

2008-05-09 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of grbgooglefan > Sent: Friday, May 09, 2008 9:41 AM > To: python-list@python.org > Subject: How to modify meaning of builtin function "not" to "!"? > > I am creating functions, the return result o

RE: Good python equivalent to C goto

2008-08-18 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Kurien Mathew > Sent: Saturday, August 16, 2008 5:21 PM > To: python-list@python.org > Subject: Good python equivalent to C goto > > Hello, > > Any suggestions on a good python equivalent for

RE: how many nested for can we utilize?

2008-08-18 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Lie > Sent: Monday, August 18, 2008 11:04 AM > To: python-list@python.org > Subject: Re: how many nested for can we utilize? > > On Aug 17, 4:23 pm, Fredrik Lundh <[EMAIL PROTECTED]> wrote: >

RE: How to use win32com to convert a MS WORD doc to HTML ?

2008-08-19 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Lave > Sent: Tuesday, August 19, 2008 10:06 AM > To: python-list@python.org > Subject: How to use win32com to convert a MS WORD doc to HTML ? > > Hi, all ! > > I'm a totally newbie huh:) > >

RE: Renaming Excel Spreadsheets

2008-08-26 Thread Reedick, Andrew
Excel object model: http://msdn.microsoft.com/en-us/library/bb149081.aspx I think the Sheets object is where you add more sheets to a workbook. You can google for code examples on how to use COM with Excel. You don't have to limit yourself to Python code examples since COM

RE: decent interactive python shell on MS Windows?

2008-10-01 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: Wednesday, October 01, 2008 12:54 PM > To: python-list@python.org > Subject: decent interactive python shell on MS Windows? > Is there an interactive Python shell