1 Jul 2010 02:14
Re: Decorators
Alan Gauld <alan.gauld <at> btinternet.com>
2010-07-01 00:14:05 GMT
2010-07-01 00:14:05 GMT
"Mary Morris" <marris1031 <at> gmail.com> wrote > anything. I need to find out every decorator and make sure it has a > descriptive name. I was thinking I could write a simple script > which would > parse through all of the source files and find decorators-maybe by > looking > for the <at> symbol? I would first try a good IDE. I don't have it installed at the moment but I think pydev for Eclipse can find decorator definitions. Combined with a power search to locate all uses of decorators that might be easier. Just a thought and I might be remembering wrong. But if you are doing serious Python coding Eclipse and PyDev are a good combination. It should also be possible to get GNU tags to handle decoratiors too - it already works with Pythion and vim will work with tags... In other words don't be too quick to jump to a programming solution, OS level tools may be a better first step. Especially if you are on *nix. HTH, -- -- Alan Gauld(Continue reading)
RSS Feed