Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #15385

Python lesson please

From gene heskett <gheskett@wdtv.com>
Subject Python lesson please
Date 2011-11-06 13:14 -0500
Newsgroups comp.lang.python
Message-ID <mailman.2468.1320603689.27778.python-list@python.org> (permalink)

Show all headers | View raw


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.

This line looks suspect to me:
 rootdir = sys.argv[1]

And I have a suspicion it is null on a linux box.

How can I fix that best?

Thanks.

Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene>
Most of the fear that spoils our life comes from attacking difficulties
before we get to them.
		-- Dr. Frank Crane

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Python lesson please gene heskett <gheskett@wdtv.com> - 2011-11-06 13:14 -0500
  Re: Python lesson please Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-11-07 02:54 +0000

csiph-web