etting the filename from the resultset.
Once again thanks for all your time and patience.
Any help would be gr8.
Ta.
Srikanth.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Cliff Ford
Sent: Monday, April 04, 2005 11:15 PM
Cc: zope@zope.org
Subject: Re: [Zope
Am Dienstag, den 05.04.2005, 13:11 -0700 schrieb srikanth:
> Hi,
>
> I am using an external method to load an Image from the harddrive. The
> external method is as follows:
>
> from email.MIMEImage import MIMEImage
> ##parameters=filename
> def getDocument(filename):
> fname = '/mnt/'+fil
srikanth wrote at 2005-4-5 13:11 -0700:
> I am using an external method to load an Image from the harddrive. The
>external method is as follows:
>
>from email.MIMEImage import MIMEImage
>##parameters=filename
>def getDocument(filename):
> fname = '/mnt/'+filename;
> input = open(fname,'
srikanth wrote:
Hi,
I am using an external method to load an Image from the harddrive. The
external method is as follows:
from email.MIMEImage import MIMEImage
##parameters=filename
def getDocument(filename):
fname = '/mnt/'+filename;
input = open(fname,'r')
content = MIMEIm
Hi,
I am using an external method to load an Image from the harddrive. The
external method is as follows:
from email.MIMEImage import MIMEImage
##parameters=filename
def getDocument(filename):
fname = '/mnt/'+filename;
input = open(fname,'r')
content = MIMEImage( input.rea