calling super()

2007-04-04 Thread Finger . Octopus
Hello, I have been trying to call the super constructor from my derived class but its not working as expected. See the code: class HTMLMain: def __init__(self): self.text = ""; print(self.text); def __del__(self): self.text = ""; print(self.text); class New

Distributing Python Applications

2007-02-10 Thread Finger . Octopus
Hello, It has been such a painful thing for me. As I made a program to encrypt files, now I want to distribute that program over other computers. I created .EXE file with py2exe but the "dist" folder makes around 2 mb and it restricts for the python DLL to be within the same folder. Is there any e

Re: Database Programming with Python

2007-02-09 Thread Finger . Octopus
> You could use Dejavu 1.5, which has its own wrapper [1] for ADO (both > MS Access and SQL Server/MSDE). No ODBC necessary or desired. > > If you want an ADO wrapper without the full Dejavu ORM, it's possible > (but not heavily documented) to use dejavu's geniusql layer on its > own. That would gi

Database Programming with Python

2007-02-09 Thread Finger . Octopus
Hi I wanted to connect Python to Ms-Access database using ADO or ODBC. I have Python 2.5 and on mxODBC site, it has no higher version build than 2.4. Moreoever, mxODBC is required for ADODB. Can anyone guide me on this what should I do to make it work on Python 2.5? I have python 2.5 running on se

Re: Problem - Win32 Programming

2007-02-09 Thread Finger . Octopus
What shoud I do to fix it? -- http://mail.python.org/mailman/listinfo/python-list

Problem - Win32 Programming

2007-02-09 Thread Finger . Octopus
Hi .. I'm a newbie to python win32 programming. I was just reading Python Programming on Win32 and I was trying to run this program: # SimpleCOMServer.py - A sample COM server - almost as small as they come! # # We expose a single method in a Python COM object. class PythonUtilities: _public_

Re: How can I access data from MS Access?

2007-02-03 Thread Finger . Octopus
On Feb 3, 10:27 pm, Bruno Desthuilliers <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] a écrit :> How to access data from MS Access? I tried ADOdb > for Python but it > > doesn't seems to work. > > > Even the official examples dont work, like this one: > > > import adodb > > conn = adodb.NewADOCon

How can I access data from MS Access?

2007-02-03 Thread Finger . Octopus
How to access data from MS Access? I tried ADOdb for Python but it doesn't seems to work. Even the official examples dont work, like this one: import adodb conn = adodb.NewADOConnection('access') # mxodbc required dsn = "Driver={Microsoft Access Driver (*.mdb)};Dbq=d:\\inetpub\\adodb\ \northwind.