[Tutor] ctypes question

Alan Gauld alan.gauld at btinternet.com
Mon Mar 7 19:26:15 CET 2011


"Pacific Morrowind" <pacificmorrowind at gmail.com> wrote

> but that path doesn't actually exist... replace that path with 
> either
> r"d:/temp/spssio32.dll" or with "d://temp//spssio32.dll"; otherwise 
> the
> /t will be transformed into a tab.

You've got your / and \ mixed up.

Forward slashes (/) are fine in Windows paths. It's back
slashes(\) that need escaping or raw stringing. \t is tab...

On the original ask - could it be a permissions issue?
Does your app have acess to the file?

Alan G. 




More information about the Tutor mailing list