in reply to Re^3: Web Scraping
in thread Web Scraping

Python is better at doing analysis or perhaps I should say 'machine learning' 'on the fly'. For example it may be better at following nodes (or leads) through a twitter feed. Python might be able to learn how to find the best pages. Otherwise your probably right, Perl would be faster than Python for most text processing. The regular expression capabilities of Perl, as build in, are better I am sure.

Replies are listed 'Best First'.
Re^5: Web Scraping
by haukex (Archbishop) on Jul 12, 2019 at 15:55 UTC
    Python is better at doing analysis or perhaps I should say 'machine learning' 'on the fly'. For example it may be better at following nodes (or leads) through a twitter feed. Python might be able to learn how to find the best pages.

    However, I doubt this is a feature of the Python language itself. It's more likely the libraries that you can load into Python that provide this functionality. Many libraries have APIs for multiple languages, so it'd probably be possible to use the exact same, or at least similar, libraries from Perl instead of Python, and then IMHO the advantages shift towards using only one programming language.

Re^5: Web Scraping
by hippo (Archbishop) on Jul 12, 2019 at 17:22 UTC
    Python is better at doing analysis or perhaps I should say 'machine learning' 'on the fly'.

    I still disagree.

Re^5: Web Scraping
by bliako (Abbot) on Jul 13, 2019 at 08:02 UTC
    Python is better at doing ...

    ... space research, nasa uses Python a lot to explore space :) sorry for the useless comment, I could not resist.