Re: re module non-greedy matches broken

2005-04-03 Thread André Malo
* "lothar" <[EMAIL PROTECTED]> wrote: > this response is nothing but a description of the behavior i reported. Then you have not read my response carefully enough. > as to whether this behaviour was intended, one would have to ask the module > writer about that. No, I've responded with a view o

Makeing TopLevel Modal ?

2005-04-03 Thread Pete Moscatt
Hi all, I want to make a dialog (using Tk Toplevel) but need it to be modal. Is this possible using Tk ? Show below is an example how I am calling the custom dialog: class main: def __init__(self,parent): top = self.top = Toplevel(parent)

Re: Corectly convert from %PATH%=c:\\X; "c:\\a; b" TO ['c:\\X', 'c:\\a; b']

2005-04-03 Thread Chirayu Krishnappa
I do agree that it is a crazy format - and am amazed that it works at the prompt. For the first case - you have a mismatched double quote for test2 at the end of the string. test2 should be r'c:\A"\B;C"\D;c:\program files\xyz' instead. For the 2nd case - my code swallowed the ';' it split on - so

<    1   2