[Pythonmac-SIG] Mac PyImport_ImportModule("modulename")

Zhi Peng zhiyong_peng2003 at yahoo.com
Tue Dec 13 16:25:14 CET 2005


matthias.oberlaender at daimlerchrysler.com wrote:  (snip)
>>>> PyRun_SimpleString("sys.path.append('.\')\n");

I try to throw in my 5 Cent: The backslash (Windows path separator?) 
following the dot might be the problem. So let me guess, the program runs 
on Windows, but not on Unix.

(Sorry for my silly quoting, but Lotus Notes is a pain!)

-- Matthias

Pythonmac-SIG maillist - Pythonmac-SIG at python.org

Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonmac-sig/attachments/20051213/138710c0/attachment.html

More information about the Pythonmac-SIG mailing list