Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder2.hal-mli.net!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!novia!news-out.readnews.com!transit4.readnews.com!panix!gordon From: John Gordon Newsgroups: comp.lang.python Subject: Re: An error when i switched from python v2.6.6 => v3.2.3 Date: Thu, 7 Mar 2013 15:55:58 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 19 Message-ID: References: <8e17232e-5b24-4040-9215-c4bd89f34fa2@googlegroups.com> <622d4a2d-0014-4254-b211-c8fd66510f74@googlegroups.com> NNTP-Posting-Host: panix1.panix.com X-Trace: reader2.panix.com 1362671758 20566 166.84.1.1 (7 Mar 2013 15:55:58 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Thu, 7 Mar 2013 15:55:58 +0000 (UTC) User-Agent: nn/6.7.3 X-Received-Bytes: 1494 Xref: csiph.com comp.lang.python:40790 In =?ISO-8859-7?B?zd/q7/Igw+rxMzPq?= writes: > Switching back to: > os.system( 'python metrites.py > %s' ) % htmltemp > f =3D open( htmltemp ) > htmldata =3D f.read()=09 > but still donse see what iam doing wrong..... You have the close-parentheses in the wrong place. The line should be: os.system( 'python metrites.py > %s' % htmltemp ) -- John Gordon A is for Amy, who fell down the stairs gordon@panix.com B is for Basil, assaulted by bears -- Edward Gorey, "The Gashlycrumb Tinies"