Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed5.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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'ide': 0.05; 'url:bugs': 0.05; 'subject:Python': 0.06; 'script,': 0.07; 'subject:while': 0.07; 'python': 0.08; 'filename': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'subject:files': 0.09; 'subject:file': 0.13; '"test"': 0.16; '.py': 0.16; 'from:addr:acm.org': 0.16; 'idle,': 0.16; 'received:198.144': 0.16; 'subject:saving': 0.16; 'wrote:': 0.18; 'extension': 0.21; 'referring': 0.23; 'specify': 0.24; 'script': 0.28; 'received:198': 0.32; 'requests': 0.32; 'to:addr:python-list': 0.32; 'there': 0.33; 'header:User-Agent:1': 0.33; 'header:X -Complaints-To:1': 0.33; '(as': 0.34; 'url:python': 0.35; 'file': 0.36; 'charset:us-ascii': 0.36; 'issue': 0.37; 'received:org': 0.37; 'url:org': 0.38; 'subject:: ': 0.39; 'to:addr:python.org': 0.39; 'opened': 0.64; 'article': 0.76 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Ned Deily Subject: Re: file extension while saving Python files Date: Tue, 08 Nov 2011 09:28:28 -0800 References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: baybryj.net User-Agent: MT-NewsWatcher/3.5.3b3 (PPC Mac OS X) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1320773324 news.xs4all.nl 6868 [2001:888:2000:d::a6]:41362 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:15473 In article , vaira muthu wrote: > In Python IDE, while we save the script, it will prompt the save > Dialog. If we specify the filename as "Test". Then file will be saved > without extension as "Test" and not "Test.py". > > Is it possible to save the script with .py extension automatically (as > Test.py)? If the IDE you are referring to is IDLE, there is an issue recently opened that requests this change: http://bugs.python.org/issue10364 -- Ned Deily, nad@acm.org