embedded python in dll with C

2007-07-15 Thread Mick Duprez
Hi All, I can't quite get my head around embedding Python in a C app and I have a few questions if I may, here is the background. I want to create a dll plugin that has the Python interpreter embedded in it for use in scripting an established application. So far I have created the interface dll and

Python command line error

2007-05-28 Thread Mick Duprez
Hi All, I've installed Python 2.5 on a number of machines but on one I'm having problems with the CLI. If I fire up the 'cmd' dos box and type 'python' I get a line of gibberish and it locks up the cli, if I run the 'command' dos box I get a few lines of garbage and it crashes/closes the dos box.

Re: Python command line error

2007-05-28 Thread Mick Duprez
On May 29, 11:33 am, Max Erickson <[EMAIL PROTECTED]> wrote: > Mick Duprez <[EMAIL PROTECTED]> wrote: > > Hi All, > > > I've installed Python 2.5 on a number of machines but on one I'm > > having problems with the CLI. > > If I fire up

Error with Simplemapi.py

2007-08-24 Thread Mick Duprez
On Dec 24 2004, 4:56 pm, [EMAIL PROTECTED] wrote: > I wish I new why google doesn't show nicely aligned python code when > you paste the script. > Anyways, in case this helps someone else you can download the script > fromhttp://www.kirbyfooty.com/simplemapi.py > > Ian First of all, thanks to all

Re: Error with Simplemapi.py

2007-08-26 Thread Mick Duprez
On Aug 27, 2:00 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Fri, 24 Aug 2007 04:03:05 -0300, Mick Duprez <[EMAIL PROTECTED]> > escribi?: > > > I have a small problem. I get an error I don't know how to resolve, > > any help would be much

Re: Error with Simplemapi.py

2007-08-27 Thread Mick Duprez
On Aug 27, 4:46 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Mon, 27 Aug 2007 03:05:30 -0300, Mick Duprez <[EMAIL PROTECTED]> > escribi?: > > > Thank you very much Gabriel, changing the NULL to None did the trick > > (it also helps i