good library for pdf

2006-01-26 Thread Enrique Palomo Jiménez
Hi all,

I want to take an existing pdf and add it a non-opaque watermark.
I have tried it in postscript but postscript hava an opaque imaging model.
Pdf allows it. I can do it with acrobat 6.0, but i need to add the watermark in 
batch mode or inside an application.

I've found lowagie library for java.

Anyone knows if there is something similar for python??

must i begin to learn java?? 

Regards
-- 
http://mail.python.org/mailman/listinfo/python-list


finding a number...

2005-10-21 Thread Enrique Palomo Jiménez
After ftp a file from mvs to windows, i find:

is an offset, so up to 2GB, a commercial application drives crazy
this is the result

2147450785|
2147466880|
2147483412|
ÓÕÖZÖ²YÕXÕ|
ÓÕÖZÖÔÓÔÕZ|
ÓÕÖZÖÒ²YÖ0|

could i know what's that?

thanks
-- 
http://mail.python.org/mailman/listinfo/python-list


send mail through webmail

2005-09-21 Thread Enrique Palomo Jiménez
Hello all,

i'd like to send mails from my account.
At office it's easy because, i can access directly to the mail server and smpt 
works fine.

but now, i'm working out of office and i can access via web, login, ...

is there a way to send mails by microsoft outlook web access?


thanks
-- 
http://mail.python.org/mailman/listinfo/python-list


execfile eats memory

2005-09-19 Thread Enrique Palomo Jiménez
On friday i wrote a this message:
[...]
I'm writing an application who needs to handle a lot of information of several 
files.
So, i think the better way is design a batch process to catch that information 
in a dictionary and write it in a file.
So, after that when a user wants to retrieve something, only with an execfile 
i'll have all the information avaiable.

Creating the file with pythonic syntax will be a hard job so,

is there some module to do that?
is there a better way?

The information will be used no more than 3-4 days a month and install 
databases is not allowed.
[...]
Someone suggest me the pickle module. I'll try it and it works, but pickle 
dumps is slower than writing the file with pythonic syntax. (26 seconds vs 6)
After that, i have a DIC.txt to execfile with it. The application dies there.
The memory grow up till de limit.
Is possible that execfile of a 19 mb file takes more than 600 mb of memory?
thanks
-- 
http://mail.python.org/mailman/listinfo/python-list


dictionary to file

2005-09-16 Thread Enrique Palomo Jiménez
Hi all,

I'm writing an application who needs to handle a lot of information of several 
files.
So, i think the better way is design a batch process to catch that information 
in a dictionary and write it in a file.
So, after that when a user wants to retrieve something, only with an execfile 
i'll have all the information avaiable.

Creating the file with pythonic syntax will be a hard job so,

is there some module to do that?
is there a better way?

The information will be used no more than 3-4 days a month and install 
databases is not allowed.

Thanks
-- 
http://mail.python.org/mailman/listinfo/python-list