2004年02月23日 星期一 14:45
您好! swig 和 boost 都可在sf.net sourceforge.net 上找到 另外,我一直有个想法:在delphi中把python api封装一把(delphi用惯了,见什么都想把它搞到delphi下), 但小弟ood方面水平比较差,不知如何下手,惭愧! ======= 2004-02-23 14:36:41 您在来信中写道:======= >swig简单,可以支持多种脚本文件,但支持的c++特性少; >boost.python支持的c++特性多,但是比较复杂; > >建议:如果只是测试接口的话,还是用swig好,毕竟接口太复杂了不是什么好事情。 > >另外,假如使用swig的话,我们可以简单把接口文件include进来,可以避免接口不一致问题。 > > >----- Original Message ----- >From: "zhao" <bear_sh at eastday.com> >To: "python-chinese" <python-chinese at lists.python.cn> >Sent: Monday, February 23, 2004 2:26 PM >Subject: Re: [python-chinese]关于调用C++写的模块 > > >> slackbmw,您好! >> >> swing 和 boost 中都对python扩展或嵌入有支持,但没有试过 :) >> >> ======= 2004-02-23 14:22:12 您在来信中写道:======= >> >> >用C++写了个类,里面有几个测试的方法,不知道有没有办法让PYTHON来调用呢? >> >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> >网易VIP收费邮箱两周年超值优惠! 满1赠6!! http://vip.163.com >> > >> >中国最大的免费邮箱在等你 25兆空间4兆附件! http://mail.163.com >> > >> >点击网易泡泡惊喜无限 全免费手机短信任你发! http://popo.163.com >> >_______________________________________________ >> >python-chinese mailing list >> >python-chinese at lists.python.cn >> >http://python.cn/mailman/listinfo/python-chinese >> >> = = = = = = = = = = = = = = = = = = = = >> >> >> 致 >> 礼! >> >> >> zhao >> bear_sh at eastday.com >> 2004-02-23 >> >> > > >-------------------------------------------------------------------------------- > > >> _______________________________________________ >> python-chinese mailing list >> python-chinese at lists.python.cn >> http://python.cn/mailman/listinfo/python-chinese >> = = = = = = = = = = = = = = = = = = = = 致 礼! zhao bear_sh at eastday.com 2004-02-23
Zeuux © 2024
京ICP备05028076号