Is it possible to write code and allow a function to be called within
another like I have shown below ?

Pete



def populatelist():
        f=open(_globals.appath + "dxcluster.svr","r")
        while true:
                text = f.readline()
                if text =="":
                        break
                _list.append(string.strip(text))        
        f.close()
        
        
def serversettings():
        servers.main(root)
        if _globals.refresh=="yes":
                populatelist()   <----------------------- calling function 
above.


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to