boost python AttributeError

Chien-Yu Chen via Boost-users <[email protected]>
Newsgroups gmane.comp.lib.boost.user
Message-ID <CAGm8C9OiPurt9JFYSr-kxg7+RxFQGRYRodDDTJ+dR2r7-o4gvQ@mail.gmail.com>
hi
  I followed the basic boost python examples, both

hello_ext.greet()
and hello.World()

and both are giving me AttributeError error, like
AttributeError: module `hello` has no attribute 'greet'

dumpbin does show that I have

PyInit_hello exported out.  Please let me know if I am doing something
wrong as this should be trivial.  thx

-- 
 Any MicroSoft extension file will directly go to trash without any warning
and regret.

_______________________________________________
Boost-users mailing list
[email protected]
https://lists.boost.org/mailman/listinfo.cgi/boost-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.