python code folding

This forum should be used for all code folding problems, questions or suggestions. You can also use this forum to request folding support for a new language.
Post Reply
gwgs
Posts: 87
Joined: Tue Nov 21, 2006 6:30 pm
Location: Auckland

python code folding

Post by gwgs » 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:

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
thanks

Grant

jussij
Site Admin
Posts: 2516
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij » Thu Jun 12, 2008 12:13 am

The xFolder.dll has been updated to do this and this new version can be found here: http://www.zeusedit.com/z300/xFolder.zip

Cheers Jussi

gwgs
Posts: 87
Joined: Tue Nov 21, 2006 6:30 pm
Location: Auckland

Post by gwgs » Thu Jun 12, 2008 12:34 am

Works great thanks Jussi


Grant

Kennedy
Posts: 1
Joined: Sat Sep 27, 2008 7:47 am

Post by Kennedy » Sat Sep 27, 2008 7:54 am

great program, Thanks.

Post Reply
kuchnie warszawa opinie

Who is online

Users browsing this forum: No registered users and 3 guests