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?
Should i give python a try on text processing
Moderator: General Moderators
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
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
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
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA