From: Liam C. <cy...@gm...> - 2005-04-12 11:15:36
|
.....oh dear. I am very, very, embarrassed at the moment... I just spent twenty minutes= =20 writing a method to do this.... all because I missed a comma. Ack. But thanks, Ed. On Apr 12, 2005 11:08 PM, Ed Leafe <ed...@le...> wrote: >=20 > On Apr 12, 2005, at 2:29 AM, Liam Clarke wrote: >=20 > > columnHeadings':[ > > [ 'Job number',-1,2], > > [ 'Inquiry date', -1,2], > > [ 'Job date', -1,2], > > [ 'Job time', -1,2], > > [ 'Fixed?', -1,2], > > [ 'Job type', -1,2], > > [ 'Job subtype'-1,2], > > ], > > > > which I thought would work gives this error - > > [snip] > > TypeError: unsupported operand type(s) for -: 'str' and 'int' >=20 > You are missing a comma after 'Job subtype'. >=20 > ___/ > / > __/ > / > ____/ > Ed Leafe > http://leafe.com/ > http://dabodev.com/ >=20 >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id=14396&opclick > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users >=20 --=20 'There is only one basic human right, and that is to do as you damn well=20 please. And with it comes the only basic human duty, to take the consequences.' |