Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.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.014 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:help': 0.07; 'python': 0.09; 'def': 0.10; '"import': 0.16; 'copied': 0.17; 'subject:request': 0.17; 'shell': 0.18; 'math': 0.20; 'to:name :python-list@python.org': 0.20; 'import': 0.21; 'tried': 0.25; 'file': 0.32; 'to:addr:python-list': 0.33; 'received:17': 0.35; 'saved': 0.35; 'charset:us-ascii': 0.36; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'kind': 0.61 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327,1.0.431,0.0.0000 definitions=2013-02-18_05:2013-02-18, 2013-02-18, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=4 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1212290000 definitions=main-1302180192 From: leonardo selmi Content-type: text/plain; charset=us-ascii Content-transfer-encoding: quoted-printable Subject: request for help Date: Mon, 18 Feb 2013 20:42:08 +0100 To: "python-list@python.org" MIME-version: 1.0 (Mac OS X Mail 6.2 \(1499\)) X-Mailer: Apple Mail (2.1499) 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1361216626 news.xs4all.nl 6876 [2001:888:2000:d::a6]:34882 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:39120 pls i need help: i have copied the following from a book and tried to make it work: import math def area(radius): return math.pi * radius**2 def circumference(radius): return 2 * math.pi * radius i saved the above program from python shell into a file as "circle.py" . = when i type "import circle" i get error.. kind regards=