Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'syntax': 0.03; 'output': 0.04; 'line:': 0.07; 'works.': 0.07; 'scripts': 0.09; 'indication': 0.09; 'polish': 0.09; 'result;': 0.09; 'through.': 0.09; 'url:faqs': 0.09; 'subject:error': 0.11; 'subject:python': 0.11; 'language': 0.14; 'charset:iso-8859-7': 0.15; 'essential': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'informal,': 0.16; 'precision.': 0.16; 'subject:when': 0.16; 'url:catb': 0.16; 'why,': 0.16; 'wrote:': 0.17; 'variable': 0.20; 'question.': 0.20; 'help.': 0.22; 'demonstrate': 0.23; 'ignored.': 0.23; 'least': 0.25; 'header:In-Reply-To:1': 0.25; 'wrote': 0.26; 'values': 0.26; 'am,': 0.27; 'checking': 0.27; 'language.': 0.27; 'message-id:@mail.gmail.com': 0.27; "doesn't": 0.28; 'all.': 0.28; 'hacker': 0.29; 'preliminary': 0.29; 'questions.': 0.29; 'quoting': 0.29; 'fri,': 0.30; 'error': 0.30; 'expect': 0.31; 'you?': 0.32; 'help,': 0.32; 'problem': 0.33; 'to:addr:python- list': 0.33; 'likely': 0.33; 'that,': 0.34; "can't": 0.34; 'received:google.com': 0.34; 'clear': 0.35; 'solving': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'but': 0.36; 'url:org': 0.36; 'bad': 0.37; 'why': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'skip:o 20': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'end': 0.40; 'think': 0.40; 'your': 0.60; 'free': 0.61; 'is.': 0.62; 'world': 0.63; 'more': 0.63; 'attention.': 0.65; 'bothered': 0.65; 'fact,': 0.69; 'lack': 0.71; 'wave': 0.71; '2013': 0.84; 'coupled': 0.84; 'everything,': 0.84; 'writing,': 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=DTO7Y0CAjwNrB4JRtLgv8Kfe0vUYcgLhEsVUrGw9axY=; b=L5dx0C7yhxoyOZxy3v9eO3Myz96PUNq0nZUVWAelxpJqJtIEIwrCI/lSk2e3Q/75qN Q34HI+eXi9stop81ggTcQ4ihIuBCmB6Fp8/UXDyFQPw+tB/PHiDhSL3F/iPCBzp1Jzzn 1sK7sp5KR+AdVIMIPKbtVACFzlwv5PWxNpIl906iduwQngZyauDlt3Iyj9UlDnnRNafB 1jMgSN2Hplswi+dg8jjSqz1KHYWsXOLhw7nyowslwf1TYAP13OFQRnQRllloRj0Dr7+B 6fGVZqytHaqlj5805+XQI9JG9rlsEt3kWKGkoG8DKCfR46dFdTply9g3gujGJ5CWG/Lt cKyA== MIME-Version: 1.0 X-Received: by 10.220.218.195 with SMTP id hr3mr12663861vcb.70.1362663839419; Thu, 07 Mar 2013 05:43:59 -0800 (PST) In-Reply-To: <7b413998-2a6f-41cb-9e6d-7ba5b006bad4@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> Date: Fri, 8 Mar 2013 00:43:58 +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: 42 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1362663841 news.xs4all.nl 6935 [2001:888:2000:d::a6]:45416 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:40764 On Fri, Mar 8, 2013 at 12:22 AM, =CD=DF=EA=EF=F2 =C3=EA=F133=EA wrote: > Please tell me at least if i ahve any syntax error in this line: > > htmldata =3D os.system('/usr/bin/python ./metrites.py /data/files/htmltem= p') > > please man its essential for my website to work otherwise 3 scripts i wro= te would not be able to produce proper html output Yes, there is. The variable name at the beginning is wrong. To understand why, look at the documentation for os.system(). If it's essential for your web site, why not pay someone to do the work for= you? You want free support AND you're not willing to put effort into your questions. That's a bad combination. The sloppiness of your writing, coupled with a clear lack of preliminary research (eg checking the docs), suggests that you do not value the end result; you expect someone else to do everything, to wave a magic wand and voila, your web site works. That isn't how the world works. Quoting from http://www.catb.org/esr/faqs/smart-questions.html > =3D=3D Before you ask =3D=3D > Prepare your question. Think it through. Hasty-sounding questions get > hasty answers, or none at all. The more you do to demonstrate that having > put thought and effort into solving your problem before seeking help, the > more likely you are to actually get help. ... > =3D=3D Write in clear, grammatical, correctly-spelled language =3D=3D > ... If you can't be bothered to do that, we can't be bothered to pay atte= ntion. > Spend the extra effort to polish your language. It doesn't have to be sti= ff or > formal - in fact, hacker culture values informal, slangy and humorous > language used with precision. But it has to be precise; there has to be > some indication that you're thinking and paying attention. > ... if you write like a semi-literate boob you will very likely be ignore= d. ChrisA