Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Ben Finney Newsgroups: comp.lang.python Subject: Re: Interpretation Date: Sun, 27 Mar 2016 14:35:40 +1100 Lines: 44 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de qRWcHPgykMrNuTT1v3co1QjgqSVtl+y5u0ln5zzo0Sow== Cancel-Lock: sha1:56yn/SgXVcr5/tixekO4t4ci+QA= Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.028 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'machines.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'someone,': 0.09; 'tab': 0.09; 'typed': 0.09; 'python': 0.10; 'python.': 0.11; 'language,': 0.11; '2016': 0.16; 'formats,': 0.16; 'intended,': 0.16; 'otoh,': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'unhelpful': 0.16; 'wrote:': 0.16; 'typing': 0.18; 'handles': 0.20; 'code,': 0.23; 'code.': 0.23; 'header:User-Agent:1': 0.26; 'installed': 0.26; 'header:X-Complaints-To:1': 0.26; 'helpful': 0.27; 'error': 0.27; 'url:moin': 0.27; 'helpful.': 0.29; 'indentation': 0.29; 'purposes.': 0.29; 'spaces': 0.29; 'environment': 0.29; 'url:wiki': 0.30; 'code': 0.30; "i'd": 0.31; 'supposed': 0.31; 'another': 0.32; 'core': 0.32; 'compiled': 0.32; 'though,': 0.32; 'url:python': 0.33; 'message.': 0.33; 'definition': 0.34; 'editor': 0.34; 'languages': 0.34; 'text': 0.35; 'clear': 0.35; 'programming.': 0.35; 'text.': 0.35; 'but': 0.36; 'should': 0.36; 'url:org': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'received:org': 0.37; 'copying': 0.38; 'sure': 0.39; 'well.': 0.40; 'to:addr:python.org': 0.40; 'care': 0.60; 'your': 0.60; "you'll": 0.61; 'hope': 0.61; 'telling': 0.61; 'programs': 0.62; 'saturday,': 0.63; 'different': 0.63; 'march': 0.64; 'day': 0.67; 'choose': 0.68; '8bit%:21': 0.70; 'skip:\xe2 10': 0.70; '26,': 0.72; '8bit%:46': 0.76; '_o__)': 0.84; 'mencken': 0.84; 'pasting': 0.84; 'received:125': 0.84; 'utc-4,': 0.84; '\xe2\x80\x94henry': 0.84; 'dennis': 0.91; 'mistake': 0.91 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: jigong.madmonks.org X-Public-Key-ID: 0xAC128405 X-Public-Key-Fingerprint: 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405 X-Public-Key-URL: http://www.benfinney.id.au/contact/bfinney-pubkey.asc X-Post-From: Ben Finney User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) 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:105808 "Mario R. Osorio" writes: > On Saturday, March 26, 2016 at 5:59:04 AM UTC-4, Dennis Ngeno wrote: > > My programs have never combile, they keep telling me , systax error even > > after copy pasting > > No pun intended, but I hope you are not typing your code like you > typed your message. Many people don't have English as a first language, or are otherwise impaired from typing English text. The issue is important though, Dennis: communication is at the core of programming. You'll need to take care with what you write in your code, and in your messages; both are communications and clear writing is very helpful. > OTOH, python code is not supposed to be compiled. That's simply untrue: Python code is compiled every day on countless machines. It is compiled to various formats, but the process is none the less compilation. Don't make the mistake of a narrow definition of “compile” which is unhelpful in modern languages like Python. > Another tip: If you really are copying and pasting, I'd recommend you > first paste the code to the text editor of your like and MAKE SURE YOU > ARE NOT MIXING SPACES AND TAB CHARACTERS FOR INDENTATION PURPOSES. Dennis, you should choose a text editor that handles program code well. A “word processor” program makes different trade-offs, altering text in a way that is not helpful for writing program code. For an overview of the range of programmer's text editors, see . To start with you can use the “IDLE” development environment that comes installed with Python. -- \ “Puritanism: The haunting fear that someone, somewhere, may be | `\ happy.” —Henry L. Mencken | _o__) | Ben Finney