Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #73906
| References | <7020a5d8-96a9-4fa4-8e69-4c7593dedee3@googlegroups.com> <mailman.11418.1404331330.18130.python-list@python.org> <fd30a5f9-c446-435a-9f0a-74dd2d608c5c@googlegroups.com> <mailman.11458.1404393113.18130.python-list@python.org> <d3e593c1-4d61-4c33-b879-d16e700bc42f@googlegroups.com> |
|---|---|
| Date | 2014-07-04 01:35 +1000 |
| Subject | Re: OOP with MyTime |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.11460.1404401715.18130.python-list@python.org> (permalink) |
On Fri, Jul 4, 2014 at 1:21 AM, <kjakupak@gmail.com> wrote: > I keep getting an invalid syntax on the t1 = (9, 59, 59) line, not sure why? > > t1 = (9, 59, 59) Two points. Firstly, as I said before, posting the entire exception helps us enormously. Secondly, with most computerized parsers, the file is processed top-down, left-to-right, so it's possible for a syntax error to be discovered a bit after where it actually happens - but not before. So when you get parsing errors, check the immediately preceding line; sometimes it's there. Since you haven't shown us that line, we have no idea what's happening. Showing us the code below the highlighted error line is of no value; showing us the code before that line is helpful. Also: Please don't use Google Groups, or if you must, please clean up its messes. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
OOP with MyTime kjakupak@gmail.com - 2014-07-02 12:20 -0700
Re: OOP with MyTime Akira Li <4kir4.1i@gmail.com> - 2014-07-02 23:45 +0400
Re: OOP with MyTime MRAB <python@mrabarnett.plus.com> - 2014-07-02 21:02 +0100
Re: OOP with MyTime kjakupak@gmail.com - 2014-07-03 05:51 -0700
Re: OOP with MyTime Chris Angelico <rosuav@gmail.com> - 2014-07-03 23:01 +1000
Re: OOP with MyTime kjakupak@gmail.com - 2014-07-03 06:08 -0700
Re: OOP with MyTime Chris Angelico <rosuav@gmail.com> - 2014-07-03 23:17 +1000
Re: OOP with MyTime MRAB <python@mrabarnett.plus.com> - 2014-07-03 14:11 +0100
Re: OOP with MyTime kjakupak@gmail.com - 2014-07-03 08:21 -0700
Re: OOP with MyTime Chris Angelico <rosuav@gmail.com> - 2014-07-04 01:35 +1000
Re: OOP with MyTime Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-07-03 17:23 +0100
csiph-web