7694&release_id=374482
The date_time package was created using boost.python library and new
code generator - pyplusplus.
The boost.python library home page:
http://www.boost.org/libs/python/doc/index.html
The pyplusplus package home page: http://www.language-binding.net/
Enjoy.
Roman Yakovenko
Decide your self:
http://seal.web.cern.ch/seal/snapshot/work-packages/scripting/evaluation-report.html
My recomendation is boost.python. If you choose boost.python then
there are a few
code generator tools for it. One of them is pyplusplus
( see http://pygccxml.sourceforge.net/pyplusplus/pyplusp
try http://sourceforge.net/projects/pygccxml
There are a few examples and nice ( for me ) documentation.
Roman
On Tue, 8 Feb 2005 13:35:57 +0100, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> Jean de Largentaye wrote:
>
> > GCC-XML looks like a very interesting alternative, as Python includes
> > t
Hi. I have small problem. I need to load extension module that depends
on shared library. Before actually importing module I tried to edit
os.environ or to call directly to os.putenv without any success -
shared library was not found. I tried to search the Internet for the
answer. The only approach
On Mar 31, 2005 9:20 AM, John Abel <[EMAIL PROTECTED]> wrote:
> What OS? Linux? Solaris?
Does it matter? If so, please explain why ( lack of knowledge )
I am using Linux ( Debian Surge )
Thanks
> J
>
> Roman Yakovenko wrote:
>
> >Hi. I have small problem. I ne
pointer.
I think I should have permissions to do it. (more over users of my
scripts should have permissions )
> HTH
>
> J
>
> Roman Yakovenko wrote:
>
> >On Mar 31, 2005 9:20 AM, John Abel <[EMAIL PROTECTED]> wrote:
> >
> >
> >>What OS? Linux? Solar
On 31 Mar 2005 00:51:21 -0800, Serge Orlov <[EMAIL PROTECTED]> wrote:
> Roman Yakovenko wrote:
> > Hi. I have small problem. I need to load extension module that
> depends
> > on shared library. Before actually importing module I tried to edit
> > os.environ or
Hi. I would like to freeze python application on linux. There are a
few tools that make the job to be done:
freeze ( comes with python )
cx_Freeze
Gordon McMillan's installer
Is it possible to freeze python application on linux in such way that
it doesn't depends on python installed on cu
Sorry for previous post - hit the wrong button
Hi. I would like to freeze python application on linux. There are a
few tools that make the job to be done:
freeze ( comes with python )
cx_Freeze
Gordon McMillan's installer
I have one problem with all of them: they require python to be
Software License(
http://boost.org/more/license_info.html )
You can download it from here:
http://sourceforge.net/project/showfiles.php?group_id=118209
Pay attention: before installing pydsc you need to install PyEnchant
(http://pyenchant.sourceforge.net/).
Ideas, comments, suggestions or help
ave the latest (1.32.0-6) Debian boost libraries, and
> bjam version (3.1.10-1) correctly installed.
> --
> http://mail.python.org/mailman/listinfo/python-list
>
Roman Yakovenko
--
http://mail.python.org/mailman/listinfo/python-list
t site.
After this use bcp(http://boost.org/tools/bcp/bcp.html) utility to extract
boost.python and its dependencies.
After this you can read tutorials and to start working.
Anyway, it is better to ask Boost.Python related questions on it's mailing list:
http://boost.org/more/mailing_lists.htm
that if you ask you questions on
boost.python mailing list
you will get the answers.
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
ig.org/
Boost.Python also has code generators: Pyste and pyplusplus(
http://language-binding.net/pyplusplus/pyplusplus.html )
The last one even has GUI, so for small project you don't have to learn
any API, just few mouse clicks and you have almost working code.
--
Roman Yakove
y you need.
> Btw, if you can point me to any source code of non-trivial projects
> utilizing SWIG/Boost.Python, that would be very helpful. I found the
> examples on the tutorials are far too simple.
Those are tutorials, they should be simple, right :-) ?
--
Roman Yakovenko
-s VC80_ROOT=vc-8_0
> not totally sure if that is right so I have tried a few others like,
> bjam -sTOOLS=vc-8_0
>
> Any help would be appreciated.
Try to run vcvars32.bat ( if exists or something similar ) before you invoke
bjam from the same cmd. I am not sure, but this could he
a look on Py++( http://language-binding.net/pyplusplus/pyplusplus.html )
You are not going to regret.
You don't have to believe: take a look on Python-Ogre project(
http://python-ogre.python-hosting.com/ ) and amount of code that is
needed
to export Ogre engine to Python: http://tinyurl.com/mjuea
--
code
and than incrementaly to drop it( C++ ). This way you will not
introduce too many
bugs and you will be able to move forward.
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
ies rather than programming
> theory/constructs
Be sure to check Boost.Python to create Python bindings for your project(s):
http://boost.org/libs/python/doc/tutorial/doc/html/index.html
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
the library
* documentation, new chapters were written, all source code in documentation is
highlighted using pykleur package.
Dependencies: Py++-0.8.2 depends on pygccxml-0.8.2.
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
ing.net/pyplusplus/links.html
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
directory, program loader can find.
How can I do this?
Any help is appreciated.
Thanks
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
.net/ using it and Docutils.
Never regret about this.
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
s implementation and performance were improved.
You can find the full list of changes here:
http://language-binding.net/pygccxml/history/history.html#version-0-8-1
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
. A lot of bugs were fixed.
8. Documentation was written.
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
ra_shortest_paths(graph, a)
You'd better ask the question on boost.python or boost-users mailing lists:
http://boost.org/more/mailing_lists.htm
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
nguage-binding.net/pyplusplus/pyplusplus.html )
Boost.Pythoncode generator
It has nice GUI ( no need to learn any API ):
http://language-binding.net/pyplusplus/documentation/tutorials/pyplusplus_gui.html
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
e complete list, please see the news:
http://language-binding.net/pygccxml/history/history.html
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
bug
was introduced.
For a more complete list, please see the news:
http://language-binding.net/pyplusplus/history/history.html
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
ython as new strings (I don't want to hold a pointer to them).
I am not sure, you'd better ask this question o Boost.Python mailing list:
http://mail.python.org/mailman/listinfo/c++-sig/
Py++, Boost.Python code generator, does it for you: http://tinyurl.com/ygwdkz
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
http://tinyurl.com/ycwvwo ) will help you
to start\learn Boost.Python.
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
ect is an open source, consider to contribute your
experience, knowledge
and time to make it better.
You can download pre-built binaries for Windows platform from here:
http://www.boost-consulting.com/download.html
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
opinion: Boost.Python is the way to go:
http://boost.org/libs/python/doc/tutorial/doc/html/python/embedding.html
There is also an other project:
http://cxx.sourceforge.net/PyCXX.html
> --
> Best Regards
> John
> --
> http://mail.python.org/mailman/listinfo/python-list
>
On 5/29/05, Cyril BAZIN <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I don't know very well what you want to do, but if you want to parse c++,
> take a look at "GCC-XML python" (http://www.gccxml.org) and the python
> binding (http://pygccxml.sourceforge.net/). These tools
> translate c++ code to XML. T
orial/doc/html/python/techniques.html#python.extending_wrapped_objects_in_python
Regards,
Stou
--
http://mail.python.org/mailman/listinfo/python-list
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
r class.
Then you can register it as usual function.
For example:
http://language-binding.net/pyplusplus/documentation/functions/transformation/built_in/input_c_buffer.html
take a look on generated source code( at the bottom of the page )
Thanks again,
Stou
On 4/19/07, Roman Yakovenko <[EMAIL PR
e base one.
Bug fixes
-
* C++ does not define implicit conversion between an integral type and
``void*``.
"declarations.is_convertible" type traits was fixed.
* Small bug was fixed in functionality that corrects GCC-XML reported function
default arguments. Reference to &quo
unctionality to Boost.Python Indexing Suite V2 ``std::map``
and ``std::multimap`` containers.
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
e(w,h)]);
> }
> }
> }
>
>
> Some help is very welcome here ... thanks.
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
ificant
> lines in the
> source code for reference. My DocBook processing software xmlint,
> xsltproc, and fop,
> don't support numbering lines, when including source files via
> http://boost-consulting.com/boost/tools/quickbook/doc/html/index.html
)
It is not exactly what you w
one uses Py++.
The link I gave earlier contains links to the projects CVS's. It worse to
take a
look on them and compare.
P.S. Take all what I say with caution, because I am the author of Py++.
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.py
ut try
some other way: Boost.Python. Take a look on tutorials:
http://www.boost.org/libs/python/doc/tutorial/doc/html/python/exposing.html
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
dings to
Ogre engine was
created using Boost.Python( http://www.ogre3d.org/wiki/index.php/PyOgre )
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
I create the BOOST_PYTHON_MODULE in an
> embedded python c++ program how to I then import that module into my
> embedded python?
http://boost.org/libs/python/doc/tutorial/doc/html/python/embedding.html
Embedding example:
http://svn.boost.org/trac/boost/browser/trunk/libs/python/test/import_.cpp
HTH
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
quiet some
> time in functions like _swig_setattr_nondinamic, _swig_setattr,
> _swig_getattr.
Before you decide to go "low level" consider to use Boost.Python.
According to this( http://tinyurl.com/322d3p ) post it gives pretty
good performance.
P.S. The post does not contain numbe
it's not visible to
> the wrapper author.
Boost.Python hides it pretty well :-)
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
ning
> access to C/C++ functionality from Jython? Please keep in mind that I
> have very little Jython experience.
>
May be you should consider JPype( http://jpype.sourceforge.net/ )
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
> best toolkits.Now I got a doubt can I interface GWT
> with python.
http://pyjamas.pyworks.org/ is the way to go.
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
s well for writing a simulation
> game.
> The Python Bindings I have found to date are:
>
> For OpenSG:
> https://realityforge.vrsource.org/trac/pyopensg
>
> For OSG (there seems to be several variations of these):
> http://code.astraw.com/projects/pyosg
>
> I suppose you could also
ed.
For a more complete list, please see the news:
http://language-binding.net/pygccxml/history/history.html
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
language-binding.net/pyplusplus/history/history.html
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
e and didn't work reliably.
I suggest you to follow GCCXML install instructions (
http://gccxml.org/HTML/Install.html ) and you will have it in less
than 20 minutes.
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
ml installer, it is just a Python script, I wrote, that
contains bug - it deletes directories. So you need to be very very
careful with it.
The bottom line - don't use it. It takes only 20 minutes to install
it, once you have its source code and cmake.
--
Roman Yakovenko
C++ Python language
age :-)! It has built-in support for type analisys,
cache and ....
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
c/html/variant.html
http://boost.org/libs/any/index.html
I hope this will help
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
hether you named you module as hello?
BOOST_PYTHON_MODULE(hello)
> Thanks,
> -Justin
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
can use your mail or gmail you can send/recieve mails from it.
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
e is try to use boost.python library.
http://www.boost.org/libs/python/doc/tutorial/doc/html/index.html
There are also few code generators available for it: pyplusplus and Pyste.
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Roman Yakovenko
C++ Python language binding
http://www.langu
ns to Python.
>
> Does anyone know of any tutorials or example code that show how to do
> this?
You have few choices:
boost.python
http://boost.org/libs/python/doc/tutorial/doc/html/python/embedding.html
PyCXX ( embedding only )
http://cxx.sourceforge.net/
> Thanks,
>
> Andrew
amic linking of the .so files (ie
> mylibDBAccess.so).
>
> Any ideas on how to resolve this?
I think you can not. I can not find the article, but I read that changes of
LD_LIBRARY_PATH after program start, does not have any effects, because this
variable is read only once - at progr
fixes
Full list of changes you can find here:
http://www.language-binding.net/pyplusplus/history/history.html
Many thanks to Matthias Baas and Allen Bierbaum. They fixed bugs, wrote
documentation, designed new user friendly API.
Enjoy
--
Roman Yakovenko
C++ Python language binding
http
bugs and wrote documentation.
Enjoy
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
--
http://mail.python.org/mailman/listinfo/python-list
62 matches
Mail list logo