Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.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.018 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'subject:error': 0.11; 'subject:python': 0.11; 'charset:iso-8859-7': 0.15; 'value.': 0.15; '1:13': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:when': 0.16; 'wrote:': 0.17; 'trying': 0.21; 'this:': 0.23; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'fri,': 0.30; 'error': 0.30; "skip:' 20": 0.32; 'docs': 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'wrong': 0.34; 'received:209.85': 0.35; 'but': 0.36; 'why': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; '2013': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=8wou5G7NdQeYFYM59lkK/WKLrfw1VHBOVUDzZub/40Q=; b=AKPGC0fnJ5AP1aGRcCLVR7AXlaXhQ6JaOR7cE4+L9O7K69ofh932fugX+hB90LjKUg YKb/NrOKzetlc6aHhAcWW1p/37TOjuDNAVyL492+8LZdAKyFoQmXPgk/GzwfUFchunrW NmezM3zGBPpdrURzQoJmnVIv4dGTPHqq55p3a6XdoozpoyXDTPI8lTe/YGFq/hQbicDc IR+3eub685JconptBBgSnpsIFoAlqWP5oxs4Y9wKZoUXGMdBb/7N68K84h2rHVkfjVnD sWqWlUMxZtF/mC3+/SkKhxx+tA+NBkQP51WL+ODGSfCDrdUQ7ss4DhewN6U3PMfrUCf+ rJvQ== MIME-Version: 1.0 X-Received: by 10.221.10.14 with SMTP id oy14mr12799312vcb.34.1362665848302; Thu, 07 Mar 2013 06:17:28 -0800 (PST) In-Reply-To: <08b2cc58-b3ec-4f4e-bd0e-863a17e7569f@googlegroups.com> References: <8e17232e-5b24-4040-9215-c4bd89f34fa2@googlegroups.com> <7bfe7117-d39d-48dc-9a6f-3d57484610a8@googlegroups.com> <213cf076-4163-44fd-a8b6-b25970da1bfa@googlegroups.com> <8a2af358-542c-45d3-b334-b4cb8f7cb7cf@googlegroups.com> <7b413998-2a6f-41cb-9e6d-7ba5b006bad4@googlegroups.com> <12e70b6c-2dc6-4cb3-8731-a910a7621802@googlegroups.com> <667bb7bc-2d76-435c-a8f6-f92fb383bd20@googlegroups.com> <08b2cc58-b3ec-4f4e-bd0e-863a17e7569f@googlegroups.com> Date: Fri, 8 Mar 2013 01:17:28 +1100 Subject: Re: An error when i switched from python v2.6.6 => v3.2.3 From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1362665850 news.xs4all.nl 6973 [2001:888:2000:d::a6]:39834 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:40773 On Fri, Mar 8, 2013 at 1:13 AM, =CD=DF=EA=EF=F2 =C3=EA=F133=EA wrote: > I made some progress!!! Now the htmldata's value its not -1 but 256!!! > > look the error after trying this: > htmldata =3D os.system("python metrites.py > '/data/private/htmltemp'") Go check the docs for os.system() and understand why 'htmldata' is the wrong name for its return value. ChrisA