How to get BOOST working on XP and Visual C++ 2005

2007-01-02 Thread Osiris
My experiences with BOOST on Windows XP and Visual C++ 2005 I'm new to Python. I built software in more than ten other computer languages. I'm not sure if that is not a handicap, when reading documentation of a system like BOOST. However: It took me more than four full working days to get a Python

BOOST confuses me: a few assumptions: true or false.....

2007-01-01 Thread Osiris
I read a lot of the html pages on installing boost etc. Still a lot of confusion. Here is what I want: I have old, stable wonderful C-code I want to use in Python projects. So I encapsulate the C-code in some C++ stuf and try to compile it into a DLL. 1: I DL-ed boost_1_33_1.exe (I use WinXP) and

BOOST again: how to proceed from here....

2007-01-01 Thread Osiris
I'm trying to work with Boost, trying to use my C-code from Python.. So now I have generated a C_test2.dll and a C_test2.lib with Visual C++ 2005, from code like this: === #include #include namespace { // Avoid cluttering the global namespace. int my_int; /* a global integer: or o

Re: python , Boost and straight (but complex) C code

2006-12-31 Thread Osiris
On Sat, 30 Dec 2006 23:35:22 +0200, "Roman Yakovenko" <[EMAIL PROTECTED]> wrote: >On 12/30/06, Osiris <[EMAIL PROTECTED]> wrote: >> Visual C++ build log at: >> >> http://213.10.133.192/BuildLog.htm > >It is better to ask Boost.Python related ques

Re: python , Boost and straight (but complex) C code

2006-12-31 Thread Osiris
On Sun, 31 Dec 2006 01:01:29 +0100, Christophe Cavalaria <[EMAIL PROTECTED]> wrote: >Osiris wrote: > >> On Sat, 30 Dec 2006 13:19:28 -0800, Erik Max Francis <[EMAIL PROTECTED]> >> wrote: >> >>>Osiris wrote: >>> >>>> I have thes

Re: python , Boost and straight (but complex) C code

2006-12-30 Thread Osiris
On Sat, 30 Dec 2006 13:19:28 -0800, Erik Max Francis <[EMAIL PROTECTED]> wrote: >Osiris wrote: > >> I have these pieces of C-code (NOT C++ !!) I want to call from Python. >> I found Boost. >> I have MS Visual Studio 2005 with C++. >> >> is this the id

Re: python , Boost and straight (but complex) C code

2006-12-30 Thread Osiris
Visual C++ build log at: http://213.10.133.192/BuildLog.htm -- http://mail.python.org/mailman/listinfo/python-list

Re: python , Boost and straight (but complex) C code

2006-12-30 Thread Osiris
I get, from Visual C++, these linker errors, 8 in total, trying to build the above C++ source: C_test.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl boost::python::detail::init_module(char const *,void (__cdecl*)(void))" ([EMAIL PROTECTED]@[EMAIL PROTECTED]@@[E

python , Boost and straight (but complex) C code

2006-12-30 Thread Osiris
I have these pieces of C-code (NOT C++ !!) I want to call from Python. I found Boost. I have MS Visual Studio 2005 with C++. is this the idea: I write the following C source file: #include #include namespace { // Avoid cluttering the global namespace. int my_int;

Re: Feasible in Python ? list of object , with two exeptional objects

2006-12-28 Thread Osiris
On Thu, 28 Dec 2006 11:14:27 +0100, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: >In <[EMAIL PROTECTED]>, Osiris wrote: > >> Would I put all the stuff that is the same in both classes in the base >> class and only the differing stuff in the subclasse

Re: Combining C and Python

2006-12-28 Thread Osiris
On Thu, 28 Dec 2006 08:48:53 +0100, Osiris <[EMAIL PROTECTED]> wrote: >On Wed, 27 Dec 2006 16:12:02 +0100, Osiris <[EMAIL PROTECTED]> wrote: > >>I found this text about combining C-code with Pyton scripting on the >>P2P networks in PDF: >> >>Python

Re: Feasible in Python ? list of object , with two exeptional objects

2006-12-28 Thread Osiris
On Wed, 27 Dec 2006 16:29:29 -0600, "Paul McGuire" <[EMAIL PROTECTED]> wrote: >"Osiris" <[EMAIL PROTECTED]> wrote in message >news:[EMAIL PROTECTED] >> Is the following intuitively feasible in Python: >> I have an array (I come from C) of ide

Re: Feasible in Python ? list of object , with two exeptional objects

2006-12-28 Thread Osiris
On Wed, 27 Dec 2006 23:27:08 +0100, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: >In <[EMAIL PROTECTED]>, Osiris wrote: > >> I have an array (I come from C) of identical objects, called sections. >> These sections have some feature, say a length, mea

Re: Combining C and Python

2006-12-27 Thread Osiris
On Wed, 27 Dec 2006 16:12:02 +0100, Osiris <[EMAIL PROTECTED]> wrote: >I found this text about combining C-code with Pyton scripting on the >P2P networks in PDF: > >Python Scripting for Computational Science >Hans Petter Langtangen >Simula Research Laboratory >and

Feasible in Python ? list of object , with two exeptional objects

2006-12-27 Thread Osiris
Is the following intuitively feasible in Python: I have an array (I come from C) of identical objects, called sections. These sections have some feature, say a length, measured in mm, which is calculated by a method A_length of the instantiation of the Section's class. Only, two elements in the arr

Combining C and Python

2006-12-27 Thread Osiris
I found this text about combining C-code with Pyton scripting on the P2P networks in PDF: Python Scripting for Computational Science Hans Petter Langtangen Simula Research Laboratory and Department of Informatics University of Oslo amazon and others have it in print. software for the text is her

Re: Newbie: what is a usefull IDE for Python on Windows ?

2006-12-23 Thread Osiris
ok, thnx. Thread closed :-) -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie: what is a usefull IDE for Python on Windows ?

2006-12-23 Thread Osiris
btw: my system is an AMD 1.8 GHz, 512 Mbyte with WinXPSP2. I saw that a system like Wing would be sluggish ... -- http://mail.python.org/mailman/listinfo/python-list

Newbie: what is a usefull IDE for Python on Windows ?

2006-12-23 Thread Osiris
what is a usefull IDE for Python on Windows ? I saw Eric mentioned.. is that WinXP or Linux ? What does "everybody" use ? I was considering using old and very stable C-code in a new web application via Python/Plone/Zope. -- http://mail.python.org/mailman/listinfo/python-list