A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/attachments/20090828/7e3d1be2/attachment.htm below:

Hi All,<br><br>I am trying to add a module written in c to python source on Win32 using VC++ 9 Pro.<br>I went through the available documentation but there doesn&#39;t seem to be any<br>clear instruction on how to do that.<br>

<br>Basically I opened pcbuild.sln in vc++, added the c file (xxx.c) to Modules/ directory.<br>Building the solution after that works fine: xxx.c is compiled (no errors, no warnings) and<br>the python executable gets created. But I am not able to import the module defined<br>

in xxx.c using that executable.<br><br>Do I need to register this module some place else too (setup.py?) ?<br><br>Any hints and pointers will be appreciated :)<br>


<br>--shashank<br>

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4