Interleave merge pdf files

2005-07-22 Thread Chirayu Krishnappa
Hi, I need to scan documents with pages having printed matter on both sides. It is easiest to stack them in the autosheet feeder and let it scan. I end up with one file (say A.pdf) containing the odd pages in sequence. Similarly, I can end up with B.pdf containing the even pages. I want to combine

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

2005-04-04 Thread Chirayu Krishnappa
Its good to see what cpython did with the PATH. I now feel good about taking the simple approach. It would be crazy if that sort of quoting in the middle becomes something which works with too many applications - and others are expected to keep up with it. I guess I dont need to worry about unix P

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

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

2005-04-03 Thread Chirayu Krishnappa
My goal is to check for certain paths appearing in the current PATH (set by a bunch of scripts run in some random order) and (1) rearrange some of them so that they are in the "correct" order and (2) replace some for which I have preferred alternatives. The quote processing I saw cmd.exe do was di