Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; '(using': 0.07; 'sys': 0.07; 'output,': 0.09; 'python': 0.11; 'windows': 0.15; 'from:addr:timgolden.me.uk': 0.16; 'from:name:tim golden': 0.16; 'here).': 0.16; 'message-id:@timgolden.me.uk': 0.16; 'quits': 0.16; 'received:74.55.86': 0.16; 'received:74.55.86.74': 0.16; 'received:smtp.webfaction.com': 0.16; 'received:webfaction.com': 0.16; 'recently.': 0.16; 'subject:Problems': 0.16; 'tjg': 0.16; 'url:faq': 0.16; 'url:windows': 0.16; 'wrote:': 0.18; 'help.': 0.21; 'example': 0.22; 'import': 0.22; 'print': 0.22; 'header:User-Agent:1': 0.23; 'looks': 0.24; 'question': 0.24; 'this:': 0.26; 'header:In-Reply- To:1': 0.27; 'code': 0.31; 'run': 0.32; 'quite': 0.32; 'url:python': 0.33; 'running': 0.33; 'noticed': 0.34; 'screen': 0.34; "can't": 0.35; 'common': 0.35; 'version': 0.36; 'really': 0.36; 'joined': 0.36; 'hi,': 0.36; 'url:org': 0.36; 'list': 0.37; 'window': 0.38; 'to:addr:python-list': 0.38; 'list,': 0.38; 'that,': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'then,': 0.60; 'tell': 0.60; 'new': 0.61; 'url:3': 0.61; 'here:': 0.62; 'times': 0.62; "you've": 0.63; 'such': 0.63; 'charset:windows-1252': 0.65; 'life': 0.66; 'from:addr:mail': 0.83; 'short,': 0.84 Date: Mon, 30 Dec 2013 20:53:14 +0000 From: Tim Golden User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Idle Problems References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit 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: 43 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1388436798 news.xs4all.nl 2925 [2001:888:2000:d::a6]:40319 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:62902 On 30/12/2013 18:43, rpucci2@cox.net wrote: > Hi I just joined this list and have a question.I have python 3.3.3 and > running it on a windows 7 computer.Python has been running good until > recently.I can bring up python shell,but when I go to run a recently > loaded program,the code comes up briefly on the screen and then > disappears.Python just quits and then I have to start over.Can someone > tell me what is happening?I’m new to python and am just learning.Thanks Hi, welcome to Python. This is a common question and has been answered quite a few times on this list, including quite recently. However, I can't for the life of me find an example of such an answer in the archives! (Someone's sure to help me out here). In short, you'd do better to start up a console window (using Start > Run > cmd.exe or any other way you choose). You can then cd to the directory your code is in, and run the programs that way. The thing is that, if your program looks like this: import sys print("Hello, World!) print("I'm running Python version ", sys.version) then, when you double-click, your program will run in a console window, print its brief output, and exit, all before you've really noticed what's going on! Have a look here: http://docs.python.org/3.3/faq/windows and here: http://docs.python.org/3.3/using/windows.html for some amount of help. TJG