ASP Response.BinaryWrite in Python
Mark Hammond
mhammond at keypoint.com.au
Sun Jun 20 20:22:36 EDT 2004
Sam Sungshik Kong wrote:
> Hello!
>
> I'm writing ASP in Python.
> I want to return an image stream from my ASP code
> so that it will look like
> <img src="image.asp">.
>
> The problem is that Response.BinaryWrite only accepts SafeArray of Bytes as
> parameter, if I understand it correctly.
What problem specifically?
> How can I do it?
Passing a string *should* work. If not, try passing "buffer(string)"
Mark.
More information about the Python-list
mailing list