newbie - Does IDLE care about sitecustomize.py?
tjreedy at udel.edu
Sat Mar 22 21:13:59 CET 2014
On 3/22/2014 9:41 AM, vikram.denizen at gmail.com wrote:
> Could you figure this out?
> On Wednesday, November 16, 2005 10:37:09 PM UTC+8, bobu... at yahoo.com wrote:
>> I have the following test script in the file customize.py
>> # C:\Python24\Lib\site-packages\sitecustomize.py
>> print "test text from sitecustomize"
>> If start Python from command prompt I get
>> test in sitecustomize
>> Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)]
>> on win32
Note: running on Windows
>> Type "help", "copyright", "credits" or "license" for more information.
>> which shows that sitecustomize.py works
>> Now if I start IDLE I only get
>> IDLE 1.1.1
On Windows, the default mode of running Idle is without a console
window, with pythonw.exe. Site.py and sitecustomize.py are run before
anything else and any output is discarded. I propose to note this where
sitecustomize.py is explained.
Terry Jan Reedy
More information about the Python-list