Re: Comparing Regular Expression in Perl vs Python

2007-11-30 Thread John W . Krahn
On Friday 30 November 2007 08:00, Jenda Krynicky wrote: > > You can write Perl with good style ... it's just that there are > several or even many equaly good styles. So everyone's code doesn't > look the same. Or just use perltidy to make everyone's code look the same. :-) John -- use Perl;

Re: Comparing Regular Expression in Perl vs Python

2007-11-30 Thread John W . Krahn
On Friday 30 November 2007 06:58, yitzle wrote: > > I've been using Perl for only about 1.5 years, and never touched > Python. About 16 months ago, I decided to learn a "scripting > language" that I've heard mentioned so many times. I was debating > between Perl and Python. I'm not quite sure why I

Re: Comparing Regular Expression in Perl vs Python

2007-11-30 Thread Jenda Krynicky
o ask questions on the perl list for fear of being told > to RTFM > > -Original Message- > >From: Jeff Pang <[EMAIL PROTECTED]> > >Sent: Nov 30, 2007 7:00 AM > >To: beginners list > >Subject: Re: Comparing Regular Expression in Perl vs Python &g

Re: Comparing Regular Expression in Perl vs Python

2007-11-30 Thread Jenda Krynicky
From: "Jeff Pang" <[EMAIL PROTECTED]> > both you and Paul mentioned that perl is maybe easier to learn than python. > but from many ppl's experience (including mine), python is easier to > get begin with. > > One of the advantages of python is that it can write code with good > style, everyone's c

Re: Comparing Regular Expression in Perl vs Python

2007-11-30 Thread yitzle
On Nov 30, 2007 9:18 AM, Jeff Pang <[EMAIL PROTECTED]> wrote: > both you and Paul mentioned that perl is maybe easier to learn than python. > but from many ppl's experience (including mine), python is easier to > get begin with. > > One of the advantages of python is that it can write code with goo

Re: Comparing Regular Expression in Perl vs Python

2007-11-30 Thread Jeff Pang
ask questions on the perl list for fear of being told > to RTFM > > -Original Message- > >From: Jeff Pang <[EMAIL PROTECTED]> > >Sent: Nov 30, 2007 7:00 AM > >To: beginners list > >Subject: Re: Comparing Regular Expression in Perl vs Python > >

Re: Comparing Regular Expression in Perl vs Python

2007-11-30 Thread hwigoda
-Original Message- >From: Jeff Pang <[EMAIL PROTECTED]> >Sent: Nov 30, 2007 7:00 AM >To: beginners list >Subject: Re: Comparing Regular Expression in Perl vs Python > >I also subscribed to python list, found that python list's message >amount is much larger than p

Re: Comparing Regular Expression in Perl vs Python

2007-11-30 Thread Paul Johnson
On Wed, Nov 28, 2007 at 07:54:14AM -0800, JBallinger wrote: > I recently heard about Python. They claimed that it is easier to learn > and to program in Python than in Perl. On Fri, Nov 30, 2007 at 09:00:59PM +0800, Jeff Pang wrote: > I also subscribed to python list, found that python list's me

Re: Comparing Regular Expression in Perl vs Python

2007-11-30 Thread Jeff Pang
I also subscribed to python list, found that python list's message amount is much larger than perl beginner's. I almost got 100 messages each day in that list. Does this indicate that python has more users than perl? On Nov 30, 2007 5:17 PM, Purohit, Bhargav <[EMAIL PROTECTED]> wrote: > > Thanks T

RE: Comparing Regular Expression in Perl vs Python

2007-11-30 Thread Purohit, Bhargav
riginal Message- From: Tom Phoenix [mailto:[EMAIL PROTECTED] Sent: Thursday, November 29, 2007 4:26 AM To: JBallinger Cc: beginners@perl.org Subject: Re: Comparing Regular Expression in Perl vs Python On 11/28/07, JBallinger <[EMAIL PROTECTED]> wrote: > I recently heard about Python. They c

Re: Comparing Regular Expression in Perl vs Python

2007-11-29 Thread Andy Greenwood
Michael Gale wrote: Hey, I have done some scripts in python, I found it easy to use and quick. I found I could recreate some apps faster in python however I found that the regular expression usage in python does not match perl's. I agree, regexp usage in python is quite clunky compared t

Re: Comparing Regular Expression in Perl vs Python

2007-11-28 Thread Tom Phoenix
On 11/28/07, JBallinger <[EMAIL PROTECTED]> wrote: > I recently heard about Python. They claimed that it is easier to learn > and to program in Python than in Perl. My friends say that Ford is great and Chevy sux. What do you Chevy people think? I don't think you're really intending to post flame

Re: Comparing Regular Expression in Perl vs Python

2007-11-28 Thread Michael Gale
Hey, I have done some scripts in python, I found it easy to use and quick. I found I could recreate some apps faster in python however I found that the regular expression usage in python does not match perl's. So it depends on what you are doing. Michael JBallinger wrote: Hi, I recently

Comparing Regular Expression in Perl vs Python

2007-11-28 Thread JBallinger
Hi, I recently heard about Python. They claimed that it is easier to learn and to program in Python than in Perl. Most of my work is relating to transformation of one text file format to another. Therefore, I wonder whether anyone has experience doing this in Python; and does what they claimed is