Re: Python lesson please

2011-11-07 Thread Chris Angelico
On Tue, Nov 8, 2011 at 5:29 PM, gene heskett wrote: > Not on that file, but on the next pull it was, and works now.  And on the > first file, the blink compare disclosed I had some indentation wrong, and > that there was a lowercase b in front of all the opening double quotes used > that I didn't

Re: Python lesson please

2011-11-07 Thread gene heskett
On Tuesday, November 08, 2011 12:53:20 AM Cameron Simpson did opine: > On 07Nov2011 15:00, gene heskett wrote: > | On Monday, November 07, 2011 02:43:11 PM Dave Angel did opine: > | > On 11/07/2011 11:40 AM, gene heskett wrote: > | > > Down toward the bottom of the file, the tab indentations were

Re: Python lesson please

2011-11-07 Thread Cameron Simpson
On 07Nov2011 15:00, gene heskett wrote: | On Monday, November 07, 2011 02:43:11 PM Dave Angel did opine: | > On 11/07/2011 11:40 AM, gene heskett wrote: | > > Down toward the bottom of the file, the tab indentations were as high | > > as 33 leading tabs per line. Each stanza of the data was tab |

Re: Python lesson please

2011-11-07 Thread gene heskett
On Monday, November 07, 2011 07:34:05 PM Terry Reedy did opine: > On 11/7/2011 11:30 AM, gene heskett wrote: > > Perhaps winderz does not have 'pipe' files so the authors never got > > caught out on this? > > Last I know, Windows not only had no pipe files but also no real > in-memory pipes. Mayb

Re: Python lesson please

2011-11-07 Thread Terry Reedy
On 11/7/2011 11:30 AM, gene heskett wrote: Perhaps winderz does not have 'pipe' files so the authors never got caught out on this? Last I know, Windows not only had no pipe files but also no real in-memory pipes. Maybe one or both of those has changed. -- Terry Jan Reedy -- http://mail.pyt

Re: Python lesson please

2011-11-07 Thread gene heskett
On Monday, November 07, 2011 02:43:11 PM Dave Angel did opine: > On 11/07/2011 11:40 AM, gene heskett wrote: > > On Monday, November 07, 2011 11:30:45 AM Dave Angel did opine: > > Back on the list.. > > > >> On 11/07/2011 06:22 AM, gene heskett wrote: > >>> On Monday, November 07, 2011 05:35:15 A

Re: Python lesson please

2011-11-07 Thread Dave Angel
On 11/07/2011 11:40 AM, gene heskett wrote: On Monday, November 07, 2011 11:30:45 AM Dave Angel did opine: Back on the list.. On 11/07/2011 06:22 AM, gene heskett wrote: On Monday, November 07, 2011 05:35:15 AM Peter Otten did opine: Are you talking about this one? https://github.com/halste

Re: Python lesson please

2011-11-07 Thread gene heskett
On Monday, November 07, 2011 11:30:45 AM Dave Angel did opine: Back on the list.. > On 11/07/2011 06:22 AM, gene heskett wrote: > > On Monday, November 07, 2011 05:35:15 AM Peter Otten did opine: > > > > > >> Are you talking about this one? > >> > >> https://github.com/halsten/Duqu-detectors/blo

Re: Python lesson please

2011-11-07 Thread gene heskett
On Monday, November 07, 2011 10:38:32 AM Andreas Perstinger did opine: > On 2011-11-07 12:22, gene heskett wrote: > > On Monday, November 07, 2011 05:35:15 AM Peter Otten did opine: > >> Are you talking about this one? > >> > >> https://github.com/halsten/Duqu-detectors/blob/master/DuquDriverP

Re: Python lesson please

2011-11-07 Thread Peter Otten
gene heskett wrote: > On Monday, November 07, 2011 05:35:15 AM Peter Otten did opine: > >> gene heskett wrote: >> > Greetings experts: >> > >> > I just dl'd the duqu driver finder script from a link to NSS on /., >> > and fixed enough of the tabs in it to make it run error-free. At >> > least p

Re: Python lesson please

2011-11-07 Thread Dave Angel
On 11/07/2011 06:22 AM, gene heskett wrote: On Monday, November 07, 2011 05:35:15 AM Peter Otten did opine: Are you talking about this one? https://github.com/halsten/Duqu-detectors/blob/master/DuquDriverPatterns .py Yes. My save as renamed it, still has about 30k of tabs in it. But I pull

Re: Python lesson please

2011-11-07 Thread Andreas Perstinger
On 2011-11-07 12:22, gene heskett wrote: On Monday, November 07, 2011 05:35:15 AM Peter Otten did opine: Are you talking about this one? https://github.com/halsten/Duqu-detectors/blob/master/DuquDriverPatterns .py Yes. My save as renamed it, still has about 30k of tabs in it. But I pulle

Re: Python lesson please

2011-11-07 Thread gene heskett
On Monday, November 07, 2011 05:35:15 AM Peter Otten did opine: > gene heskett wrote: > > Greetings experts: > > > > I just dl'd the duqu driver finder script from a link to NSS on /., > > and fixed enough of the tabs in it to make it run error-free. At > > least python isn't having a litter of

Re: Python lesson please

2011-11-07 Thread Peter Otten
gene heskett wrote: > Greetings experts: > > I just dl'd the duqu driver finder script from a link to NSS on /., and > fixed enough of the tabs in it to make it run error-free. At least python > isn't having a litter of cows over the indentation now. > > But it also runs instantly on linux. >

Re: Python lesson please

2011-11-06 Thread Steven D'Aprano
On Sun, 06 Nov 2011 13:14:43 -0500, gene heskett wrote: > I just dl'd the duqu driver finder script from a link to NSS on /., and > fixed enough of the tabs in it to make it run error-free. At least > python isn't having a litter of cows over the indentation now. Presumably the script should

Re: Python lesson please

2011-11-06 Thread David Riley
On Nov 6, 2011, at 3:34 PM, Cameron Simpson wrote: > Perhaps more relevantly: > > If you have unmangled a lot of tabs, remember that control flow is > indentation based in python, and you may have broken some logic. > (For this reason a number of us set our editors to work only in spaces). I wou

Re: Python lesson please

2011-11-06 Thread Dave Angel
On 11/06/2011 06:10 PM, gene heskett wrote: On Sunday, November 06, 2011 06:07:36 PM Dave Angel did opine: On 11/06/2011 01:14 PM, gene heskett wrote: Greetings experts: I just dl'd the duqu driver finder script from a link to NSS on /., and fixed enough of the tabs in it to make it run error

Re: Python lesson please

2011-11-06 Thread gene heskett
On Sunday, November 06, 2011 06:07:36 PM Dave Angel did opine: > On 11/06/2011 01:14 PM, gene heskett wrote: > > Greetings experts: > > > > I just dl'd the duqu driver finder script from a link to NSS on /., > > and fixed enough of the tabs in it to make it run error-free. At > > least python is

Re: Python lesson please

2011-11-06 Thread Cameron Simpson
On 06Nov2011 13:14, gene heskett wrote: | Greetings experts: | | I just dl'd the duqu driver finder script from a link to NSS on /., and | fixed enough of the tabs in it to make it run error-free. At least python | isn't having a litter of cows over the indentation now. | | But it also runs i

Re: Python lesson please

2011-11-06 Thread Dave Angel
On 11/06/2011 01:14 PM, gene heskett wrote: Greetings experts: I just dl'd the duqu driver finder script from a link to NSS on /., and fixed enough of the tabs in it to make it run error-free. At least python isn't having a litter of cows over the indentation now. But it also runs instantly on