On 30 août, 11:46, mwebs <[EMAIL PROTECTED]> wrote:
> Hello,
> this is more a python-specific problem then a django one.
Then please post it on c.l.py.
> I have 2 modules
>
> #a.py:
>
> global filebuffer
> filebuffer = []
You don't need the global keyword at the top-level of a module. You
onl
solved :-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For
Hello,
this is more a python-specific problem then a django one.
I have 2 modules
#a.py:
global filebuffer
filebuffer = []
#b.py
print filebuffer
--> filebuffer not defined
___
Do I have to import a.py? but I want to work on the same instance of
filebuffer from both mo
3 matches
Mail list logo