"chand" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Please let me know how to
> resolve this warning message..!!
> SyntaxWarning: name 'g_opt_list' is used prior to global declaration
Post the entire error traceback.
Post the entire error traceback.
Post the entire error traceb
chand wrote:
> Sorry for mailing the code which does't even compile !!
You probably missed that other hint where Fredrik Lunddh told you to
somewhat reduce the script's size.
> Please find below the code which compiles. Please let me know how to
> resolve this warning message..!!
> SyntaxWarning
Hi All..,
Sorry for mailing the code which does't even compile !!
Please find below the code which compiles. Please let me know how to
resolve this warning message..!!
SyntaxWarning: name 'g_opt_list' is used prior to global declaration
import os,sys,re,string,math
from xml.dom import minidom,
Hi Terry..,
Here is the code which gives the error...
Let me know exact reason for this Error
import os,sys,re,string,math
from xml.dom import minidom, Node
from Layer import Layer
from LMessage import *
from Param import *
from Message import *
from message_mapping import *
from protocol_mappi
"chand" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi.,
>
> In my api.py file 'g_opt_list' is defined globally
> g_opt_list =[[],[],[],[],[],[],[]]
>
> I am using this global list in the fucntion
>
> def function ():
>gloabl g_opt_list
>
> when I run the py file, I am getti
chand wrote:
> Hi.,
>
> In my api.py file 'g_opt_list' is defined globally
> g_opt_list =[[],[],[],[],[],[],[]]
>
> I am using this global list in the fucntion
>
> def function ():
> gloabl g_opt_list
global?
> when I run the py file, I am getting the Following Error
>
> SyntaxWarning: n
chand wrote:
> In my api.py file 'g_opt_list' is defined globally
> g_opt_list =[[],[],[],[],[],[],[]]
>
> I am using this global list in the fucntion
>
> def function ():
> gloabl g_opt_list
This is obviously wrong and not the code you wrote, global being
written horribly wrong - which shou
Hi.,
In my api.py file 'g_opt_list' is defined globally
g_opt_list =[[],[],[],[],[],[],[]]
I am using this global list in the fucntion
def function ():
gloabl 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 declar