Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'syntax': 0.03; 'subject:help': 0.07; 'python': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; '"import': 0.16; 'improper': 0.16; 'message-id:@post.gmane.org': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:request': 0.17; 'shell': 0.18; 'errors': 0.23; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.28; '"in': 0.29; 'writes:': 0.29; 'error': 0.30; 'code': 0.31; 'file': 0.32; 'to:addr:python-list': 0.33; 'saved': 0.35; 'received:org': 0.36; 'but': 0.36; 'charset :us-ascii': 0.36; 'subject:: ': 0.38; 'advice': 0.39; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'face': 0.61; 'kind': 0.61; 'due': 0.66; 'obvious': 0.71; 'received:myvzw.com': 0.84; 'we?': 0.84; 'refuse': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Rick Johnson Subject: Re: request for help Date: Mon, 18 Feb 2013 19:53:42 +0000 (UTC) References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 70.196.110.43 (Mozilla/5.0 (Windows NT 6.0; rv:18.0) Gecko/20100101 Firefox/18.0) 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: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1361217249 news.xs4all.nl 6943 [2001:888:2000:d::a6]:40386 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:39122 leonardo selmi icloud.com> writes: > [...] > i saved the above program from python shell into a file as > "circle.py" . when i type "import circle" i get error.. Urm... would you be so kind as to copy and paste the error message verbatim? You have obvious syntax errors in this code due to improper indentation, but take a word of advice from the Python Zen: "In the face of ambiguity, refuse the temptation to guess" So let's have a look-see at that error message, shall we?