Ahh, duh, I thought it would be something simple, thanks all... I have yet
to use global variables in python as i tend to write things in an OO design
and define variables in the __init__() function of each class.


On Thu, Jul 23, 2009 at 3:23 PM, Robert Bradshaw <
[email protected]> wrote:

> On Jul 23, 2009, at 11:47 AM, Andy Michaels wrote:
>
> > Hello all,
> >
> > I have recently started using cython for a project that I am
> > working on.  First, understand that I am relatively new to python,
> > let alone cython which I started to delve into today.  Anyway...
> > for this project, I need to dynamically allocate memory for a 2D
> > array (a la malloc(...)).  Unfortunately, I have become confused
> > with what might be a scope issue, however I am unsure.  I will
> > start with a quick example of my problem:
>
> This is the second time this question came up today. See
>
> http://wiki.cython.org/FAQ#HowdoIassigntoaglobalvariable.3F
>
> - Robert
>
> _______________________________________________
> Cython-dev mailing list
> [email protected]
> http://codespeak.net/mailman/listinfo/cython-dev
>
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to