Re: What is a perl hash in python

2007-01-12 Thread sturlamolden
Karyn Williams wrote: > I am new to Pyton. I am trying to modify and understand a script someone > else wrote. I am trying to make sense of the following code snippet. I know > line 7 would be best coded with regex. I first would like to understand > what was coded originally. thelistOut looks lik

Re: What is a perl hash in python

2007-01-12 Thread Bruno Desthuilliers
Karyn Williams a écrit : > I am new to Pyton. I am trying to modify and understand a script someone > else wrote. I am trying to make sense of the following code snippet. I know > line 7 would be best coded with regex. I first would like to understand > what was coded originally. thelistOut looks l

Re: What is a perl hash in python

2007-01-12 Thread BartlebyScrivener
Karyn Williams wrote: > > For future reference, why is direct use of the string module frowned upon, > and what does one use instead ? > Karyn, http://docs.python.org/lib/node42.html rd -- http://mail.python.org/mailman/listinfo/python-list

Re: What is a perl hash in python

2007-01-12 Thread Karyn Williams
At 06:54 PM 1/12/07 GMT, you wrote: >On Fri, 12 Jan 2007 09:15:44 -0800, Karyn Williams <[EMAIL PROTECTED]> >declaimed the following in comp.lang.python: > >> I am new to Pyton. I am trying to modify and understand a script someone >> else wrote. I am trying to make sense of the following code snip

Re: What is a perl hash in python

2007-01-12 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, Karyn Williams wrote: > I am new to Pyton. I am trying to modify and understand a script someone > else wrote. I am trying to make sense of the following code snippet. I know > line 7 would be best coded with regex. What is line 7 in the snippet? > I first would like to u

What is a perl hash in python

2007-01-12 Thread Karyn Williams
I am new to Pyton. I am trying to modify and understand a script someone else wrote. I am trying to make sense of the following code snippet. I know line 7 would be best coded with regex. I first would like to understand what was coded originally. thelistOut looks like a hash to me (I'm more famili