Re: Python crash after using weave inline

2007-04-18 Thread Soren
On Apr 18, 10:07 pm, Peter Wang <[EMAIL PROTECTED]> wrote: > Soren, > > For future reference, you might want to direct weave-related questions > to the [EMAIL PROTECTED] mailing list. > > > def cartPolFast(xlen, ylen, x_c, y_c): > > > res

Embedding Matplotlib in wxpython wx.Panel problem

2007-04-25 Thread Soren
nt other panels containing various settings, buttons etc. to control the plot. So far I can't even get the program to actually show a plot in a panel. Does anyone here have experience in making a wxpython GUI with matplotlib? Any help would be appreciated! Thanks, Soren My code shows a fram

embedding matplotlib in wxpython

2007-04-25 Thread Soren
is appreciated! Thanks, Soren Code: --- import wx import pylab from matplotlib.numerix import arange, sin, cos, pi import matplotlib matplotlib.use('WXAgg') from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg from matplotlib.b

Multiple select in wx.GenericDirCrtl

2007-04-27 Thread Soren
Hi! Is it possible to do multiple file selections in a wx.GenericDirCtrl?? Thanks, Soren -- http://mail.python.org/mailman/listinfo/python-list

Re: Multiple select in wx.GenericDirCrtl

2007-04-28 Thread Soren
On Apr 27, 3:13 pm, [EMAIL PROTECTED] wrote: > On Apr 27, 7:31 am, Soren <[EMAIL PROTECTED]> wrote: > > > Hi! > > > Is it possible to do multiple file selections in a wx.GenericDirCtrl?? > > > Thanks, > > Soren > > I'm not finding anything

How do I parse a string to a tuple??

2007-04-30 Thread Soren
ay to do this? Thanks!, Soren -- http://mail.python.org/mailman/listinfo/python-list

Re: How do I parse a string to a tuple??

2007-04-30 Thread Soren
Thanks alot everyone! Soren -- http://mail.python.org/mailman/listinfo/python-list

Boost Problem! Boost.Build not found

2007-04-16 Thread Soren
ase consult the documentation at 'http://www.boost.org'. Can anyone please tell me what I am doing wrong?? Theres no tutorial on how to make a boost-build.jam file.. and as I understand I don't need one as long as I set BOOST_BUILD_PATH .. Any help is apprecieated!! Thanks!, Soren -- http://mail.python.org/mailman/listinfo/python-list

Re: Boost Problem! Boost.Build not found

2007-04-16 Thread Soren
On 16 Apr., 12:53, "Rob Wolfe" <[EMAIL PROTECTED]> wrote: > Soren wrote: > > Unable to load Boost.Build: could not find "boost-build.jam" > > --- > > Attempted search from C:\boost\boost_1

Re: Boost Problem! Boost.Build not found

2007-04-16 Thread Soren
On 16 Apr., 12:53, "Rob Wolfe" <[EMAIL PROTECTED]> wrote: > Soren wrote: > > Unable to load Boost.Build: could not find "boost-build.jam" > > --- > > Attempted search from C:\boost\boost_1

Re: Boost Problem! Boost.Build not found

2007-04-16 Thread Soren
On 16 Apr., 14:28, "Rob Wolfe" <[EMAIL PROTECTED]> wrote: > Soren wrote: > > > Try to create boost-build.jam file like this: > > > > # boost-build.jam > > > boost-build C:\boost\boost_1_33_1\tools\build\v1 ; > > > Hi Rob, Thanks for the ans

Re: Boost Problem! Boost.Build not found

2007-04-16 Thread Soren
On 16 Apr., 14:28, "Rob Wolfe" <[EMAIL PROTECTED]> wrote: > Soren wrote: > > > Try to create boost-build.jam file like this: > > > > # boost-build.jam > > > boost-build C:\boost\boost_1_33_1\tools\build\v1 ; > > > Hi Rob, Thanks for the ans

Python crash after using weave inline

2007-04-18 Thread Soren
Hi, I have a strange and very annoying problem when using weave in scipy.. when I run the code below.. the first time it needs to compile.. it says and then python.exe crashes! and no result is shown.. the second time i run it, it does not compile but gives the completely wrong answer.. prints a

FindWindowById returns None..... ?

2008-01-10 Thread Soren
1) I get a None value returned?? using findwindowbyid in gui1 on the same ID works fine.. I'm guessing i'm doing this the wrong way, can anyone comment on this? Thanks, Soren -- http://mail.python.org/mailman/listinfo/python-list

Re: FindWindowById returns None..... ?

2008-01-10 Thread Soren
On Jan 10, 9:43 am, Soren <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to split my GUI into several files since its beginning to > become a bit large.. I've placed a panel class inside gui2.py, but it > needs some information from a panel in gui1.py... if I i

Parallel port control with USB->Parallel converter

2008-02-14 Thread Soren
;Parallel port converter... i guess I would be totally blind. Any help would be appreciated! Soren -- http://mail.python.org/mailman/listinfo/python-list

Re: Parallel port control with USB->Parallel converter

2008-02-14 Thread Soren
r... So if anyone know how to hack an USB-Parallel converter to let me send bytes to it.. I'm all ears!! :) Soren -- http://mail.python.org/mailman/listinfo/python-list

indexing arrays in extensions created with ext_tools (scipy.weave)

2008-10-31 Thread Soren
like a(x,y) in the c code?? I have alot of 2D arrays that needs indexing in the C code.. Any help is appreciated! Thanks, Soren -- http://mail.python.org/mailman/listinfo/python-list

Wxpython. Is it possible to change layout in a running application? Selfmade listbox

2008-04-07 Thread Soren
ng new appears when I push the button again. Is it at all possible to do this? Has anyone created something similar? Does anyone know what i'm doing wrong? Thanks, Soren -- http://mail.python.org/mailman/listinfo/python-list

Sorting Directories from files in a os.listdir??

2008-04-10 Thread Soren
Hi, I'd like to read the filenames in a directory, but not the subdirectories, os.listdir() gives me everything... how do I separate the directory names from the filenames? Is there another way of doing this? Thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: Sorting Directories from files in a os.listdir??

2008-04-10 Thread Soren
On Apr 10, 12:14 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Thu, 10 Apr 2008 06:55:13 -0300, Soren <[EMAIL PROTECTED]> > escribió: > > > I'd like to read the filenames in a directory, but not the > > subdirectories, os.listdir()

SWIG Python undefined reference

2008-04-29 Thread Soren
Hi, I went through the SWIG tutorial for the example named "simple". I managed to get to the first step, creating example_wrap.c using swig, and doing: "gcc -fpic -c example_wrap.c -IC:\python24\include " to create example_wrap.o But when I needed to compile the library file using: "gcc -shared

Re: SWIG Python undefined reference

2008-04-29 Thread Soren
Ok I found out how to do it using: gcc -Ic:\python24\include -Lc:\python24\libs --shared example_wrap.c example.c -lpython24 -o _example.pyd but now I get a "dynamic module does not define init function" error when I try to import it into python.. Anyone?? Soren -- http://mail.

Re: SWIG Python undefined reference

2008-04-29 Thread Soren
On Apr 29, 11:31 am, Soren <[EMAIL PROTECTED]> wrote: > Ok I found out how to do it using: > > gcc -Ic:\python24\include -Lc:\python24\libs --shared example_wrap.c > example.c -lpython24 -o _example.pyd > > but now I get a "dynamic module does not define init function&

py2app with weave fails

2010-07-16 Thread Soren
Hi, I'm trying to create a standalone app using py2app, but it seems no matter what I do I get this error: Traceback (most recent call last): File "/Users/soren/Documents/workspace/bioxtasraw/dist/RAW.app/ Contents/Resources/__boot__.py", line 158, in _run('RAW.py&#x