Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.168 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.68; '*S*': 0.02; 'subject:Python': 0.06; 'python': 0.08; 'linux.': 0.09; 'finder': 0.16; 'gene': 0.16; 'soap,': 0.16; 'linux': 0.17; 'cheers,': 0.18; 'driver': 0.18; 'subject:please': 0.21; 'runs': 0.23; 'indentation': 0.23; 'suspect': 0.24; 'thanks.': 0.26; 'script': 0.28; 'fixed': 0.28; 'looks': 0.28; 'fix': 0.29; 'least': 0.31; "isn't": 0.32; 'to:addr :python-list': 0.32; 'header:User-Agent:1': 0.33; 'null': 0.34; 'charset:us-ascii': 0.36; 'but': 0.37; 'run': 0.38; 'enough': 0.38; 'to:addr:python.org': 0.39; 'header:Message-Id:1': 0.62; 'life': 0.63; 'link': 0.63; 'our': 0.63; 'frank': 0.64; 'instantly': 0.67; 'dr.': 0.68; 'greetings': 0.74; '"there': 0.84; 'best?': 0.84; 'difficulties': 0.84; 'error-free.': 0.84; 'me:': 0.84; 'nss': 0.84; 'received:66.118': 0.91 X-Spam-Status: No, score=-2.1 required=5.0 X-Spam-Level: From: gene heskett To: python-list@python.org Subject: Python lesson please Date: Sun, 6 Nov 2011 13:14:43 -0500 User-Agent: KMail/1.13.7 (Linux/2.6.38.8-pclos2.pae.bfs; KDE/4.6.5; i686; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1320603689 news.xs4all.nl 6848 [2001:888:2000:d::a6]:58250 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:15385 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: Most of the fear that spoils our life comes from attacking difficulties before we get to them. -- Dr. Frank Crane