On 06/14/2013 03:59 PM, Matt D wrote:
On 06/14/2013 03:14 PM, Dave Angel wrote:
On 06/14/2013 10:48 AM, Matt D wrote:
Hey,
here is a snip of my code.
#logger code--
# first new line
#self.logfile.write('\n')
# date and ti
On 06/14/2013 03:14 PM, Dave Angel wrote:
> On 06/14/2013 10:48 AM, Matt D wrote:
>> Hey,
>> here is a snip of my code.
>>
>> #logger code--
>> # first new line
>> #self.logfile.write('\n')
>> # date and time
>> #self.log
On 06/14/2013 10:48 AM, Matt D wrote:
Hey,
here is a snip of my code.
#logger code--
# first new line
#self.logfile.write('\n')
# date and time
#self.logfile.write('%s,'%(str(strftime("%
On 14/06/13 15:37, Matt D wrote:
There is a difference between where an error *occurs* and
where an error is *detected*.
got it. the error can be in the previous line.
Yeah, or more. I've seen errors that originated 3 or 4 lines back
from the reported location. So just remember that if you c
Hey,
here is a snip of my code.
#logger code--
# first new line
#self.logfile.write('\n')
# date and time
#self.logfile.write('%s,'%(str(strftime("%Y-%m-%d %H:%M:%S",
gmtime()
On 06/14/2013 10:27 AM, Alan Gauld wrote:
> On 14/06/13 14:27, Matt D wrote:
>> im sorry i dont get it. there is too many brackets in this lin:
>>
>> tmplist.append(field_values["nac"])
>>
>> Thats where the error is
>
> No, that's where Python *detected* that an error existed.
> The actual e
On 14/06/13 14:27, Matt D wrote:
im sorry i dont get it. there is too many brackets in this lin:
tmplist.append(field_values["nac"])
Thats where the error is
No, that's where Python *detected* that an error existed.
The actual error is on the previous line. This is quite
common, espe
On 14/06/13 22:45, Matt D wrote:
tmplist = []
tmplist.append((str(strftime("%Y-%m-%d %H:%M:%S", localtime(
tmplist.append(field_values["nac"])
[...]
When i run the code program dies like this:
tmplist.append(field_values["nac"])
^
SyntaxError: i
On Jun 14, 2013, at 9:27 AM, Matt D wrote:
> im sorry i dont get it. there is too many brackets in this lin:
>
> tmplist.append(field_values["nac"])
>
> Thats where the error is but i dont see too many brackets?
Please don't top post.
The error is not on this line, but on the previous
im sorry i dont get it. there is too many brackets in this lin:
tmplist.append(field_values["nac"])
Thats where the error is but i dont see too many brackets?
On 06/14/2013 08:56 AM, Flynn, Stephen (L & P - IT) wrote:
> Not enough closing brackets on the previous line... or actually too
i am trying to figure a way to to use a list to log/print my data:
# tmplist = [time, 'nac', 'tgid', 'source', 'dest', 'algid'] is what we
want
tmplist = []
tmplist.append((str(strftime("%Y-%m-%d %H:%M:%S", localtime(
tmplist.append(field_values["nac"])
tmplis
On 06/13/2013 12:32 PM, Matt D wrote:
On 06/13/2013 11:23 AM, Dave Angel wrote:
On 06/13/2013 10:37 AM, Matt D wrote:
On 06/13/2013 08:22 AM, Dave Angel wrote:
On 06/13/2013 12:18 AM, Matt D wrote:
Hey,
line 202: self.logfile.write('%s,'%(str(f))) d
does put the comma in properl
On 06/13/2013 11:23 AM, Dave Angel wrote:
> On 06/13/2013 10:37 AM, Matt D wrote:
>> On 06/13/2013 08:22 AM, Dave Angel wrote:
>>> On 06/13/2013 12:18 AM, Matt D wrote:
>
>
>>>
>> Hey,
>> line 202: self.logfile.write('%s,'%(str(f))) d
>> does put the comma in properly bu
On 06/13/2013 10:37 AM, Matt D wrote:
On 06/13/2013 08:22 AM, Dave Angel wrote:
On 06/13/2013 12:18 AM, Matt D wrote:
Hey,
line 202: self.logfile.write('%s,'%(str(f))) d
does put the comma in properly but,
line 203: self.logfile.write('\n')
was putting the newline after each value
On 06/13/2013 08:22 AM, Dave Angel wrote:
> On 06/13/2013 12:18 AM, Matt D wrote:
>>
>>
>>
>>>
>>>
>> yes the .py file has TextCtrl fields that get there values from a
>> pickled dictionary. Another peice of the code watches a thread for the
>> pickle. this is why i didnt use a list. I have
On 06/13/2013 12:18 AM, Matt D wrote:
yes the .py file has TextCtrl fields that get there values from a
pickled dictionary. Another peice of the code watches a thread for the
pickle. this is why i didnt use a list. I have been unable to find a
nice way to just make a list with the it
Original Message
Subject: Re: [Tutor] Need Help Modifying a wxPython GUI (scrolling
display and logging)
Date: Thu, 13 Jun 2013 00:17:44 -0400
From: Matt D
To: Dave Angel
On 06/12/2013 09:44 PM, Dave Angel wrote:
> On 06/12/2013 09:23 PM, Matt D wrote:
>>
>>> There are o
17 matches
Mail list logo