[New-bugs-announce] [issue5594] IDLE startup configuration

Mark Summerfield report at bugs.python.org
Sun Mar 29 09:20:10 CEST 2009


New submission from Mark Summerfield <mark at qtrac.eu>:

My suggestion is to add somewhere in the configuration dialog when users
can enter a block of Python code to be executed at startup and whenever
Restart Shell is executed.

Use case: for people who use IDLE for calculations/experiments they
might like to always have certain module imported. For me personally, it
would be:

   import os
   import re
   import sys
   from math import *

but of course the whole point is that people can write any code they
like. (Some people might want to do various from __future__ imports in
Python 2.6 to get various Python 3 features for example.)

I know that you can use the -c option, but that only works at startup,
not every time you Restart Shell.

----------
components: IDLE
messages: 84367
nosy: mark
severity: normal
status: open
title: IDLE startup configuration
type: feature request
versions: Python 2.7, Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5594>
_______________________________________


More information about the New-bugs-announce mailing list