[python-win32] win32com + Excel + Django + Apache = problem

Mark Hammond skippy.hammond at gmail.com
Thu Jan 27 01:08:47 CET 2011


On 26/01/2011 8:51 AM, cricogik wrote:
>  > Does that user have access to that path?
> Yes, apache has full access. It's problem in win32com

Are you sure about that?

> because when I
> add before calling Workbooks.Open:
>
>      open("C:\\path\\to\\file.xlsx")
>
> application won't crash, so apache can open/read/write this file. Also
> when I running application under django developer server everything works.
...
>  >>       doc = xl.Workbooks.Open("C:\\path\to\\file.xlsx")

You have a tab character (\t) in that path.

Mark


More information about the python-win32 mailing list