Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #68792
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: newbie - Does IDLE care about sitecustomize.py? |
| Date | 2014-03-22 16:13 -0400 |
| References | <1132151829.600244.9210@g14g2000cwa.googlegroups.com> <f10f31d6-a28a-4327-9468-d2c1727b474c@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.8407.1395519267.18130.python-list@python.org> (permalink) |
On 3/22/2014 9:41 AM, vikram.denizen@gmail.com wrote: > Could you figure this out? > > On Wednesday, November 16, 2005 10:37:09 PM UTC+8, bobu...@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 >> >> C:\Python24>python >> 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. http://bugs.python.org/issue21026 -- Terry Jan Reedy
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: newbie - Does IDLE care about sitecustomize.py? vikram.denizen@gmail.com - 2014-03-22 06:41 -0700 Re: newbie - Does IDLE care about sitecustomize.py? Chris Angelico <rosuav@gmail.com> - 2014-03-23 00:57 +1100 Re: newbie - Does IDLE care about sitecustomize.py? Terry Reedy <tjreedy@udel.edu> - 2014-03-22 16:13 -0400
csiph-web