Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #105808
| From | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Interpretation |
| Date | 2016-03-27 14:35 +1100 |
| Message-ID | <mailman.70.1459049750.28225.python-list@python.org> (permalink) |
| References | <mailman.22.1458986332.28225.python-list@python.org> <d4bc11c2-e8b9-42f7-a3ff-11b609df1bfa@googlegroups.com> |
"Mario R. Osorio" <nimbiotics@gmail.com> 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 <URL:https://wiki.python.org/moin/PythonEditors>. 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
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Interpretation Dennis Ngeno <dennisngeno7@gmail.com> - 2016-03-25 09:33 -0700
Re: Interpretation "Mario R. Osorio" <nimbiotics@gmail.com> - 2016-03-26 20:22 -0700
Re: Interpretation Ben Finney <ben+python@benfinney.id.au> - 2016-03-27 14:35 +1100
Re: Interpretation Steven D'Aprano <steve@pearwood.info> - 2016-03-27 14:45 +1100
Re: Interpretation Steven D'Aprano <steve@pearwood.info> - 2016-03-27 14:49 +1100
csiph-web