Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Tim Golden Newsgroups: comp.lang.python Subject: Re: A mistake which almost went me mad Date: Thu, 3 Mar 2016 10:48:55 +0000 Lines: 22 Message-ID: References: <56d81044$0$19756$426a74cc@news.free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de qG2tW/3XUi0YFujleaXmfwAelJmVxa+V9eo2mcdZf2YA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'filename': 0.07; 'ast': 0.09; 'subject:which': 0.09; 'tends': 0.09; 'thu,': 0.15; '10:26': 0.16; '2016': 0.16; 'from:addr:timgolden.me.uk': 0.16; 'from:name:tim golden': 0.16; 'message-id:@timgolden.me.uk': 0.16; 'naming': 0.16; 'nick': 0.16; 'received:74.55.86': 0.16; 'received:74.55.86.74': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'received:smtp.webfaction.com': 0.16; 'received:webfaction.com': 0.16; 'tjg': 0.16; 'wrote:': 0.16; 'later': 0.16; 'student': 0.20; 'suggested': 0.20; 'header:In- Reply-To:1': 0.24; 'script': 0.25; "i've": 0.25; 'header:User- Agent:1': 0.26; 'correct': 0.28; 'there.': 0.30; 'file': 0.34; 'add': 0.34; 'could': 0.35; 'created': 0.36; 'to:addr:python- list': 0.36; 'subject:: ': 0.37; 'things': 0.38; 'whatever': 0.39; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'avoid': 0.61; 'charset:windows-1252': 0.62; 'times': 0.63; 'mar': 0.65; 'helping': 0.67; 'from:addr:mail': 0.70 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:103958 On 03/03/2016 10:43, Nick Sarbicki wrote: > On Thu, Mar 3, 2016 at 10:26 AM ast wrote: > >> Hello >> >> This has to be told >> >> I created a file pickle.py >> > > You could stop there. > > The number of times I've had to correct a student for naming their script > "turtle.py". A few teachers recently were discussing this on Twitter. One suggested that his pupils always add their initials to whatever filename they use. That tends to avoid this issue (as well as helping work out later whose file is whose on things like Raspberry Pi). TJG