Is Python as capable as Perl for sysadmin work?

Richie Hindle richie at entrian.com
Thu Feb 10 04:01:09 EST 2005


[Steve]
> Was it INTERCAL that had the COMEFROM <Line number> statement instead of
> GOTO? I REALLY like the idea of a COMEFROM statement. I think python should
> have a COMEFROM statement

It does - see http://entrian.com/goto/

(In case you doubt it: yes, it works, but note that it doesn't work at the
interactive prompt, only in a real source file.)

(The fact that I felt obliged to add the first paragraph on that page is
the funniest part of the whole thing.  I really did have people genuinely
thanking me for the module, asking for features, asking for help with
using it, and so on.)

-- 
Richie Hindle
richie at entrian.com




More information about the Python-list mailing list