Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.84.MISMATCH!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'sep': 0.09; 'subject:modules': 0.09; 'unexpected': 0.09; 'url:peps': 0.09; 'windows,': 0.09; 'everybody.': 0.16; 'idle,': 0.16; 'idle.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:import': 0.16; 'vpython': 0.16; 'wrote:': 0.17; 'url:dev': 0.17; '(or': 0.18; 'trying': 0.21; 'errors': 0.23; 'installed': 0.23; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; 'header:X-Complaints-To:1': 0.28; 'run': 0.28; 'post': 0.28; '"python"': 0.29; '-0700,': 0.29; 'arrival': 0.29; "d'aprano": 0.29; 'steven': 0.29; "i'm": 0.29; 'error': 0.30; 'url:python': 0.32; 'from:addr:yahoo.co.uk': 0.32; 'help,': 0.32; 'message.': 0.33; 'problem': 0.33; 'to:addr:python-list': 0.33; 'thanks': 0.34; 'open': 0.35; 'similar': 0.35; 'received:org': 0.36; 'url:org': 0.36; "didn't": 0.36; 'subject:: ': 0.38; 'mark': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'first': 0.61; 'unusual': 0.71; 'prompt': 0.78; 'located.': 0.84; 'received:2': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Can't import modules Date: Mon, 01 Oct 2012 09:36:19 +0100 References: <36813ff7-68b9-44eb-9b25-7c13ae739566@googlegroups.com> <5068a9e0$0$6915$e4fe514c@news2.news.xs4all.nl> <2e36e097-a43f-43b4-98a6-8da999c39c21@googlegroups.com> <5068f109$0$29997$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-2-98-201-251.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 In-Reply-To: <5068f109$0$29997$c3e8da3$5496439d@news.astraweb.com> X-Antivirus: avast! (VPS 120930-1, 30/09/2012), Outbound message X-Antivirus-Status: Clean 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: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1349080468 news.xs4all.nl 6921 [2001:888:2000:d::a6]:34473 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:30601 On 01/10/2012 02:25, Steven D'Aprano wrote: > On Sun, 30 Sep 2012 17:35:02 -0700, Peter Farrell wrote: > >> Thanks for trying to help, everybody. Sorry I didn't post the whole >> error message. Now my problem is I just installed VPython and I'm trying >> to run the very first example, bounce.py which I located. I opened it >> and ran it in Idle. I got this message: > > In general, any time you get unexpected or unusual errors in IDLE, you > > In Windows, I *think* that if you run "python" (or perhaps "python32") > from the Start Menu, it will open an interactive prompt similar to IDLE. Just python. With the arrival of pylauncher http://www.python.org/dev/peps/pep-0397/ you can also type py [options]. -- Cheers. Mark Lawrence.