python code folding
Posted: Wed Jun 11, 2008 11:18 pm
could you add a couple more commands to the python code folding routines
begin: try
begin: except
handle like you do for any other block in python
sample code:
thanks
Grant
begin: try
begin: except
handle like you do for any other block in python
sample code:
Code: Select all
try:
f=open(self.infile,'r')
f.close()
except:
if self.fromcommandline:
self.logit("ERROR: txtfile '"+self.infile+"' Missing")
if self.fromcommandline:
sys.exit()
self.errors=self.errors+1
Grant