Is there Python equivalent to Perl BEGIN{} block?

Paddy paddy3118 at
Wed Mar 12 19:43:28 CET 2008

On Mar 12, 6:19 pm, Alex <alex.pul... at> wrote:
> Hi all,
> The subject says pretty much all, i would very appreciate an answer. I
> tried to search the various forums and groups, but didn't find any
> specific answer...
> Thanks,
> Alex.

No not really.

There are lots of other ways to structure a Python program though
which makes its omission hardly felt.

- Paddy.

More information about the Python-list mailing list