global variables and local functions.

Mark McEahern marklists at mceahern.com
Thu Aug 29 05:16:14 CEST 2002


[Micah Mayo]
> Basically here's what I'm trying to do:
> <pseudocode>
...
> list1 = []
> list2 = []
> global_int = 0

I'm sorry, but I find it hard to follow pseudocode and intuit how that's
related to the real error you're getting.

Please do the hard work of posting a complete but abbreviated version of
your code that actually generates the error you're seeing.  Chances are,
you'll solve your own problem in the process.

There's a reason people eschew global variables, by the way.  <wink>

Cheers,

// mark

-





More information about the Python-list mailing list