Re: How to programmatically insert pages into MDI.

2007-07-28 Thread fynali iladijas
On Jul 24, 4:36 pm, fynali iladijas [EMAIL PROTECTED] wrote: Hi, this query is regarding automating page insertions in Microsoft Document Imaging. I have two sets of MDIs generated fortnightly: Invoices and their corresponding Broadcast Certificates; about 150 of each. My billing

How to programmatically insert pages into MDI.

2007-07-24 Thread fynali iladijas
certificates. All help and advice will be most appreciated. Thank you. s|a fynali -- http://mail.python.org/mailman/listinfo/python-list

Re: 2**2**2**2**2 wrong? Bug?

2007-07-10 Thread fynali
19729 Did you count the 'L'? (-: -- http://mail.python.org/mailman/listinfo/python-list

Re: How do I remotely access Scheduled Tasks from Windows XP to Windows Server 2003?

2007-07-10 Thread fynali
yet, but they should get me started. Thanks,- Hide quoted text - - Show quoted text - kj7ny, could you post back here to learn from? Thanks. s|a fynali -- http://mail.python.org/mailman/listinfo/python-list

Re: win32com ppt embedded object

2007-07-10 Thread fynali
the browser, simply select it from the Pythonwin Tools menu, or double-click on the file win32com\client\combrowse.py -- s|a fynali -- http://mail.python.org/mailman/listinfo/python-list

Re: Fredrik Lundh [was Re: explicit self revisited]

2006-11-13 Thread fynali
You idiot. Putting the word official in front of something doesn't mean it can't be FUD. Especially when it is written by people such as yourself. Have you not paid attention to anything happening in politics around the world during your lifetime? Ridiculous boo-llshit! --

Re: how do real python programmers work?

2006-01-15 Thread fynali
Love it. -- fynali -- http://mail.python.org/mailman/listinfo/python-list

Re: How to remove subset from a file efficiently?

2006-01-14 Thread fynali
outfile.writelines([number for number in postpaid_file if number not in barred]) postpaid_file.close(); outfile.close() -- $ time ./cleanup.py real0m31.007s user0m24.660s sys 0m3.550s Can we say that using generators newer Python _is_ faster? -- fynali

Re: How to remove subset from a file efficiently?

2006-01-14 Thread fynali
user0m5.532s sys 0m0.868s This was run on my machine (w/ Python 2.4.1), can't install psyco on the actual server at the moment. I guess using generators newer Python is indeed faster|better. -- fynali -- http://mail.python.org/mailman/listinfo/python-list

Re: How to remove subset from a file efficiently?

2006-01-14 Thread fynali
0m24.293s user0m22.633s sys 0m0.524s Saves ~6 secs. -- fynali -- http://mail.python.org/mailman/listinfo/python-list

Re: How to remove subset from a file efficiently?

2006-01-14 Thread fynali
Sorry, pls read that ~15 secs. -- http://mail.python.org/mailman/listinfo/python-list

Re: How to remove subset from a file efficiently?

2006-01-14 Thread fynali
0m22.587s user0m21.653s sys 0m0.440s Not using psyco is faster! -- fynali -- http://mail.python.org/mailman/listinfo/python-list

Re: How to remove subset from a file efficiently?

2006-01-13 Thread fynali
The code it down to 5 lines! #!/usr/bin/python barred = set(open('/home/sajid/python/wip/CBR319.dat')) postpaid_file = open('/home/sajid/python/wip/PSP320.dat') outfile = open('/home/sajid/python/wip/PSP-CBR.dat', 'w') outfile.writelines(number for number in

Re: How to remove subset from a file efficiently?

2006-01-13 Thread fynali
above gives me one more reason to love Python. And it is indeed fast, 5x! Thank you all for all your help. -- fynali -- http://mail.python.org/mailman/listinfo/python-list

Re: How to remove subset from a file efficiently?

2006-01-13 Thread fynali
$ cat cleanup_ray.py #!/usr/bin/python import itertools b = set(file('/home/sajid/python/wip/stc/2/CBR333')) file('PSP-CBR.dat,ray','w').writelines(itertools.ifilterfalse(b.__contains__,file('/home/sajid/python/wip/stc/2/PSP333'))) -- $ time ./cleanup_ray.py

Re: How to remove subset from a file efficiently?

2006-01-13 Thread fynali
suggestions above which will still give me the time saving made? -- fynali -- http://mail.python.org/mailman/listinfo/python-list

Re: How to remove subset from a file efficiently?

2006-01-13 Thread fynali
[bonono] Have you tried the explicit loop variant with psyco ? Sure I wouldn't mind trying; can you suggest some code snippets along the lines of which I should try...? [fynali] Needless to say, I'm utterly new to python and my programming skills know-how are rudimentary

How to remove subset from a file efficiently?

2006-01-12 Thread fynali
*.good *.sorted *.filtered #:~ ...but strangely though, there's a discrepancy, the reason for which I can't figure out! Needless to say, I'm utterly new to python and my programming skills know-how are rudimentary. Any help will be genuinely appreciated. -- fynali -- http://mail.python.org