title: Python extension building with boost
body: <p>I am fairly new to the boost c/c++ library. I downloaded boost library and build the library.</p>
  <p>I created a very simple python library in c++ using boost interface (actually it is example code given in the documentation). I built it into a dll file. In the documentation it reads that this dll is exposed to python and they just show the import function in python and include the created library.
  I don't understand how to expose that dll to python and load the library inside in tradition ('import') manner.
  In case if you wanna look at the code then here it is:</p>
  <pre><code>#include &lt;boost/python.hpp&gt;
  
  char const* greet()
  {
      return &quot;hello, world&quot;;
  }
  
  BOOST_PYTHON_MODULE(hello_ext)
  {
      using namespace boost::python;
      def(&quot;greet&quot;, greet);
  }
  </code></pre>
  <p>Please help I really want to build applications with c/c++ and python.
  I simply want to use hello_ext as:</p>
  <pre><code>&gt;&gt;&gt;import hello_ext
  &gt;&gt;&gt;print hello_ext.greet()
  </code></pre>
  <p>Thank you.</p>