Appendix B. An Overview of Python for Perl Programmers

There is a definite overlap in the problem domains in which both Python and Perl are used. The overlap is not complete, but it is sufficiently large that most developers choose to use Python or Perl in their work, but not a mixture of both.

Comparisons between Perl and Python are unavoidably subjective. Both languages have ardent supporters and ardent detractors. Unfortunately, comparisons between Perl and Python often lead to heated debate when published in public forums—especially the comp.lang.perl and comp.lang.python Usenet groups.

Both Python and Perl are interpreted programming languages. They are executed directly from their textual form without any (visible) compilation stage. Both ...

Get XML Processing with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.