Coming from Perl

Paddy paddy3118 at googlemail.com
Thu Sep 13 15:38:07 EDT 2007


On Sep 13, 1:30 am, Amer Neely <perl4h... at softouch.on.ca> wrote:
> I'm a complete newbie with Python, but have several years experience
> with Perl in a web environment.
>
> A question I have, if someone here is familiar with Perl, does Python
> have something like Perl's 'here document'? I've just searched and read
> some postings on generating HTML but they all seem to refer to various
> template utilities. Is this the only way, or am I missing something? I'm
> used to generating X/HTML by hand, which makes the here document in Perl
> ideal for me. Also, many times a client already existing HTML code that
> I can use in a script.
>
> --
> Amer Neely
> w:www.webmechanic.softouch.on.ca/
> Perl | MySQL programming for all data entry forms.
> "Others make web sites. We make web sites work!"

Hi Amer,
Just as an aside, you might find this helpful:
  http://wiki.python.org/moin/PerlPhrasebook
It has perl code with python equivalents/notes.

- Paddy.




More information about the Python-list mailing list