Should i give python a try on text processing

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
pedrotuga
Forum Contributor
Posts: 249
Joined: Tue Dec 13, 2005 11:08 pm

Should i give python a try on text processing

Post by pedrotuga »

I wrote a few scripts in PHP to spider some websites for some content.
I find PHP very practical to manipulate text.

As there is a HUGE mambo-jambo about the wonders of python, i would like to give it a try.

No apecial features such as multi-thread or memory management will be used, it will basically consist on HTTP, mysql and regular expression match operations.

Should i give python a try ( this would be a way to climb it's learning curve )?
Or should i just stick to PHP?

I love PHP, i think it's great a dead simple, i hardly belive any other language has so practical tools to manipulate text as PHP.... but i would like to give a try on python.

For those with experience... is it to manipulate text in python? as easy as php?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

I have no experience with Python, but I have to say that if you have the unction and the means, why not learn something new?
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

PERL = Practical Extraction & Reporting Language...Perl is well known for it's text handling capabilities...so perhaps that would be better time invested???

Python, as I understand it has it's focus more geared to towards a stricter object model...that's it strong point as a script language...PHP is ease of use Perl is it's text handling, etc...

Just my 2 cents :)
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

I've been trying to decide whether I want to dive into Python or Java next... but both are a ways off yet. I am leaning towards java though.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Me too. I am thinking of trying to get my company to pay for me to go to school to learn Java.
Post Reply