[Tutor] Automated function creation / outsourcing code
Oxymoron
moron.oxy at gmail.com
Sun Mar 29 14:40:47 CEST 2009
I think you're looking for refactoring features, in this particular
case, a compose method/function refactor.
Generally, generic editors will have trouble doing this right since it
requires some inferencing capability on the selected code, your best
bet is probably googling Python-aware IDEs with refactoring support,
something like PyDev (http://pydev.sourceforge.net) or eric
(http://eric-ide.python-projects.org/).
-- K
On Sun, Mar 29, 2009 at 11:31 PM, W W <srilyk at gmail.com> wrote:
> On Sat, Mar 28, 2009 at 5:34 AM, Martin Klimach <beachflags at googlemail.com>
> wrote:
>>
>> <snip>Is there a python editor, that can automatically turn a selection of
>> code into a function? Matching the input and return variables?
>> <snip>
>
> I've never heard of one. I suppose you could probably write your own using
> regexes perhaps.
>
> -Wayne
>
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
--
There is more to life than increasing its speed.
-- Mahatma Gandhi
More information about the Tutor
mailing list