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
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
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
Please let me know how to remove this error
Here is the code which gives the
.,
--Chandra
Terry Reedy wrote:
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
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
That is exactly i want to know. i.e...,how to provide the python code
path in tcl script file, that loads required function.
--BestRegards.,
--chandra
definitions etc.
Michael Schlenker wrote:
chand wrote:
Hi..
I am writing a Gui in TCL and my backend code is python. I want to call
Hi.,
can anyone help me how to provide the info about the python file
procedure in the tcl script which uses tclpython i.e., is there a way
to import that .py file procedure in the tcl script
--BestRegards
--Chandra
Michael Schlenker wrote:
chand wrote:
Hi..
I am writing a Gui in TCL