Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'interpreter': 0.05; 'currently,': 0.09; 'executed': 0.09; 'executes': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:command': 0.09; 'python': 0.11; 'jan': 0.12; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject:Classes': 0.16; 'wrote:': 0.18; 'header :User-Agent:1': 0.23; 'header:X-Complaints-To:1': 0.27; 'header :In-Reply-To:1': 0.27; 'possibility': 0.29; 'code': 0.31; 'invoke': 0.31; 'running': 0.33; 'subject:the': 0.34; 'but': 0.35; 'there': 0.35; 'idle': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'fashion': 0.64; 'different': 0.65; 'future,': 0.83; 'received:fios.verizon.net': 0.84; 'received:108': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Classes and the command line Date: Tue, 28 Oct 2014 00:14:53 -0400 References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-108-16-203-145.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1414469714 news.xs4all.nl 2833 [2001:888:2000:d::a6]:32940 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:79821 On 10/26/2014 11:28 PM, Seymore4Head wrote: > I am going to be flexible on IDLE in the near future, but I wanted to > try it the old fashion way. I already know using IDLE is better, but > I am not sure using IDLE will invoke Python 2 and I am not sure how to > change that at the moment. Currently, Idle executes user code with the same interpreter it is running on. Now that user code is executed in a subprocess, there is the possibility of using a different python in the subprocess. But this is for the future. -- Terry Jan Reedy