Hello,

Just trying to have some fun with Python now, used only Perl so far.
I have two questions:

1. loops
    for ...
       stuff ...
       for ...
          try ...
          except
               --> I want here to do a "break" on the inner loop (simple)
                   and a "continue" on the outer loop
                   (sort of "next <LABEL> of goto)
       some other stuff ...

2. regexps
   What would be the equivalent of
       string =~ m/(...)(...)/
       a = $1 ...
   I've seen some stuff in the re module but either I don't get it
   or is overly complicated.

TIA

Cheers,
-- 
Ryurick M. Hristev mailto:[EMAIL PROTECTED]
Computer Systems Manager
University of Canterbury, Physics & Astronomy Dept., New Zealand

Reply via email to