X-Received: by 10.224.213.197 with SMTP id gx5mr22831187qab.8.1362668484395; Thu, 07 Mar 2013 07:01:24 -0800 (PST) X-Received: by 10.49.24.194 with SMTP id w2mr3419016qef.42.1362668484145; Thu, 07 Mar 2013 07:01:24 -0800 (PST) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!dd2no8007785qab.0!news-out.google.com!p7ni382qai.0!nntp.google.com!dd2no8007782qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.python Date: Thu, 7 Mar 2013 07:01:24 -0800 (PST) In-Reply-To: <622d4a2d-0014-4254-b211-c8fd66510f74@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=94.68.107.188; posting-account=DYJQ-woAAACEPH85Au2BhUVfFTfSfVa4 NNTP-Posting-Host: 94.68.107.188 References: <8e17232e-5b24-4040-9215-c4bd89f34fa2@googlegroups.com> <622d4a2d-0014-4254-b211-c8fd66510f74@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: An error when i switched from python v2.6.6 => v3.2.3 From: =?ISO-8859-7?B?zd/q7/Igw+rxMzPq?= Injection-Date: Thu, 07 Mar 2013 15:01:24 +0000 Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: quoted-printable Xref: csiph.com comp.lang.python:40782 =D4=E7 =D0=DD=EC=F0=F4=E7, 7 =CC=E1=F1=F4=DF=EF=F5 2013 4:50:34 =EC.=EC. UT= C+2, =EF =F7=F1=DE=F3=F4=E7=F2 =CD=DF=EA=EF=F2 =C3=EA=F133=EA =DD=E3=F1=E1= =F8=E5: > os.system( 'python metrites.py > htmltemp' ) That is wrong now i realize, it takes htmltemp as the filename where what i= need is to take it htmltemp's varibales value. 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.....