<br><br><div class="gmail_quote">On Mon, Mar 7, 2011 at 10:36 AM, Pacific Morrowind <span dir="ltr"><<a href="mailto:pacificmorrowind@gmail.com">pacificmorrowind@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff">
Hi<div class="im"><br>
<br>
On 07/03/2011 7:02 AM, Albert-Jan Roskam wrote:
<blockquote type="cite">
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">
<div>Hi,</div>
<div> </div>
<div>I want to use a dll to read Spss data files. But when I use
</div>
<div>lib = ctypes.cdll.LoadLibary("d:/temp/spssio32.dll")<br>
I get a WindowsError (cannot find module), even though the
path exists. Why is that? Do I need to extend some environment
variable (add another dir)? I am using Python 2.5 on Windows
2000, but I also unsuccessfully tried it using Python 2.7 on
Ubuntu 10 (however, I don't want to write the program on a
linux system because I'll be using it on windows only). I also
got the same error when I tried some other dll's.</div>
<div> </div>
</div>
</blockquote></div>
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.<br>
Nick<br>
<blockquote type="cite"><div class="im">
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">
<div>Thanks in advance!</div>
<div> </div>
Cheers!!<br>
Albert-Jan <br>
<br>
<div>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
All right, but apart from the sanitation, the medicine,
education, wine, public order, irrigation, roads, a fresh
water system, and public health, what have the Romans ever
done for us?<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
</div>
</div>
<br>
</div><pre><fieldset></fieldset>
_______________________________________________
Tutor maillist - <a href="mailto:Tutor@python.org" target="_blank">Tutor@python.org</a>
To unsubscribe or change subscription options:
<a href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">http://mail.python.org/mailman/listinfo/tutor</a>
</pre>
</blockquote>
</div>
<br>_______________________________________________<br>
Tutor maillist - <a href="mailto:Tutor@python.org">Tutor@python.org</a><br>
To unsubscribe or change subscription options:<br>
<a href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">http://mail.python.org/mailman/listinfo/tutor</a><br>
<br></blockquote><div><br> <br></div></div>"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.<br>
Nick"<br><br clear="all">I don't think that is the problem. '\t' would transform to tab, but not '/t'. Right?<br>
<br>-- <br>Joel Goldstick<br><br>