Re: Removing Warning Messages .............

2005-09-19 Thread Bruno Desthuilliers
chand a écrit : > Hi., > > In my api.py file 'g_opt_list' is defined globally > g_opt_list =[[],[],[],[],[],[],[]] > > when I run the py file, I am getting the Following Error > > SyntaxWarning: name 'g_opt_list' is used prior to global declaration > SyntaxWarning: name 'layers' is used prior to

Re: Removing Warning Messages .............

2005-09-19 Thread Fredrik Lundh
"chand" <[EMAIL PROTECTED]> wrote: > SyntaxWarning: name 'g_opt_list' is used prior to global declaration > SyntaxWarning: name 'layers' is used prior to global declaration those messages are preceeded by a line number, which tells you where to look for the problem. when I run your snippet, I on

Removing Warning Messages .............

2005-09-19 Thread chand
Hi., In my api.py file 'g_opt_list' is defined globally g_opt_list =[[],[],[],[],[],[],[]] when I run the py file, I am getting the Following Error SyntaxWarning: name 'g_opt_list' is used prior to global declaration SyntaxWarning: name 'layers' is used prior to global declaration Please let me