Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #68773 > unrolled thread

Re: newbie - Does IDLE care about sitecustomize.py?

Started byvikram.denizen@gmail.com
First post2014-03-22 06:41 -0700
Last post2014-03-22 16:13 -0400
Articles 3 — 3 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

#68773 — Re: newbie - Does IDLE care about sitecustomize.py?

Fromvikram.denizen@gmail.com
Date2014-03-22 06:41 -0700
SubjectRe: newbie - Does IDLE care about sitecustomize.py?
Message-ID<f10f31d6-a28a-4327-9468-d2c1727b474c@googlegroups.com>
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
> 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
> >>>
> 
> which shows that that IDLE doesn't care about sitecustomize.py
> 
> Am I missing something or how do you customize if you are using IDLE?

[toc] | [next] | [standalone]


#68776

FromChris Angelico <rosuav@gmail.com>
Date2014-03-23 00:57 +1100
Message-ID<mailman.8399.1395496654.18130.python-list@python.org>
In reply to#68773
On Sun, Mar 23, 2014 at 12: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:
>> [ chomp ]

You're responding to a decade-old post, you're posting from Google
Groups, and you haven't added any information to the thread at all.
The original post was talking about Python 2.4, which is well and
truly out of support (unless you're running RHEL5), so the very first
thing you should do is see if there's still a corresponding issue with
a current version of Python. The next thing to do is to make sure you
don't offend with form (always offend people with substance, it's more
satisfying), so either don't use Google Groups, or clean up what you
post so it comes out looking correct. And following the standard
interleaved style, rather than top-posting, will also help.

ChrisA

[toc] | [prev] | [next] | [standalone]


#68792

FromTerry Reedy <tjreedy@udel.edu>
Date2014-03-22 16:13 -0400
Message-ID<mailman.8407.1395519267.18130.python-list@python.org>
In reply to#68773
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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web