Elliptic Curve Library

2006-12-23 Thread Mike Tammerman
Hi, I need an elliptic curve library that can be used by python. I googled but couldn't find a one. I'll appreciate, if you could show me. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Elliptic Curve Library

2006-12-23 Thread Mike Tammerman
I will try to implement an ID-Based Cryptography. I also need bilinear pairing operations. Mike vasudevram wrote: Mike Tammerman wrote: Hi, I need an elliptic curve library that can be used by python. I googled but couldn't find a one. I'll appreciate, if you could show me. Mike

Re: Excel library with unicode support

2005-10-05 Thread Mike Tammerman
Thanks, a lot. It helped me so much. Mike -- http://mail.python.org/mailman/listinfo/python-list

Excel library with unicode support

2005-10-04 Thread Mike Tammerman
Hi, I want to create an Excel file, but I don't to use com or any win32 object. Because, the file should be opened via OpenOffice. I found pyXLWriter, but it doesn't support unicode or non-ascii characters. Is there a python library, that is able to create Excel files with unicode characters. I

stdin and py2exe

2005-09-14 Thread Mike Tammerman
Hi, I want create a subprocess using Popen and pipe some input to it. Although everything works perfectly while executing python in, it doesn't work if I try with executables made by py2exe. I think, stdin is invalidated if the program becomes an executable. Because I get a Bad file descriptor

Re: stdin and py2exe

2005-09-14 Thread Mike Tammerman
Yes, it throws exceptions if I build the exe of the subprogram.py. So, is it possible to pipe some data to another py2exe'd application without a console. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Printer List from CUPS

2005-09-12 Thread Mike Tammerman
Thanks, a lot, this helped me so much. It was so easy, to compile, install and use the cupsext module. -Mike -- http://mail.python.org/mailman/listinfo/python-list

Printer List from CUPS

2005-09-08 Thread Mike Tammerman
Hi, I want to get the printer list from CUPS. I found some ways using lpstat -p and http://localhost:631/printers but, these ways require some parsing and I am not sure, if the parsing works all the time. A pythonic way would be very helpful. Thanks, Mike --

Re: Printer List from CUPS

2005-09-08 Thread Mike Tammerman
I am using Ubuntu. pycups seems to be not existed any more. Mike -- http://mail.python.org/mailman/listinfo/python-list

execute commands independantly

2005-09-06 Thread Mike Tammerman
Hi, I am trying to execute an executable or a pyton script inside my program. I looked at the subprocess and os module. But all the functions in these modules blocks my application. What I want to do is run the subprocess without any concern. I don't care of its return type or child signals. Just

Re: execute commands independantly

2005-09-06 Thread Mike Tammerman
You're right, I tried subprocess.call and os.spawn* functions. Popen is what I will be happy with. Thanks a lot. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Garbage collection with QT

2005-06-08 Thread Mike Tammerman
Not all leakage problems caused by qt or python. There is a wrapping layer between Qt and Python provided by SIP. Therefore, SIP may cause leakages. Also PyQt had a paintCell memory leakage problem several months ago. If you're using an old snapshot of PyQt or SIP, that would be a problem. Try

Function Serialization

2005-06-01 Thread Mike Tammerman
I want to serialize a function using its pointer. For example s = ... def square(number): ... return number**2 ... functions = {} exec s in functions f = functions['square'] f function square at 0xb7b5d10c Then, 1. Serialize f, 2. Store it into a file a db. One day later, 3. Retrieve

Re: Function Serialization

2005-06-01 Thread Mike Tammerman
Michele, thank you for the suggestion, it works as you mention. But in my case the function is inside a string and I should exec the string to get the function. Something like this fields = {} s = 'def f(): pass' exec s in fields f = fields['f'] f function f at 0xb7a00bfc import shelve d