Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'constructor': 0.07; 'skip:/ 10': 0.07; 'subject:file': 0.07; 'works.': 0.07; 'scripts': 0.09; 'python': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; '2.7': 0.13; 'charset:iso-8859-7': 0.15; 'issue,': 0.17; 'shell': 0.18; 'produces': 0.22; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'script': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'guess': 0.27; 'skip:# 10': 0.27; '2.6': 0.27; 'post': 0.28; 'cgi': 0.29; 'subject:end': 0.29; 'subject:some': 0.29; 'error': 0.30; "skip:' 20": 0.32; 'subject: .': 0.33; 'subject:data': 0.33; 'problem': 0.33; 'version': 0.34; 'received:google.com': 0.34; 'server': 0.35; 'especially': 0.35; 'michael': 0.36; 'subject:: ': 0.38; 'subject:-': 0.40; 'account': 0.67; '2013': 0.84; 'why?': 0.84; '\xcc\xe1\xf1\xf4\xdf\xef\xf5': 0.84 X-Received: by 10.49.81.198 with SMTP id c6mr1654017qey.37.1362611924672; Wed, 06 Mar 2013 15:18:44 -0800 (PST) Newsgroups: comp.lang.python Date: Wed, 6 Mar 2013 15:18:44 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=94.68.127.128; posting-account=DYJQ-woAAACEPH85Au2BhUVfFTfSfVa4 References: <7e0a8562-9a48-4f5a-804d-3751733288f0@googlegroups.com> <009ab803-6269-453b-bff1-0c58a6db358d@googlegroups.com> <0d58f312-9259-407d-b47b-80b88cf9a82c@googlegroups.com> User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 94.68.127.128 MIME-Version: 1.0 Subject: Re: Inserting-embedding some html data at the end of a .py file From: =?ISO-8859-7?B?zd/q7/Igw+rxMzPq?= To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org 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: , Message-ID: Lines: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1362611928 news.xs4all.nl 6895 [2001:888:2000:d::a6]:50992 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:40667 =D4=E7 =D4=E5=F4=DC=F1=F4=E7, 6 =CC=E1=F1=F4=DF=EF=F5 2013 2:06:33 =F0.=EC.= UTC+2, =EF =F7=F1=DE=F3=F4=E7=F2 Michael Ross =DD=E3=F1=E1=F8=E5: > check_output is available as of Python 2.7 > I guess you are still on version 2.6 ? I can access each of these from my jailed shell user account without issue,= and especially i try /usr/bin/python3 nikos@superhost.gr [~]# /usr/bin/python -V Python 2.6.6 nikos@superhost.gr [~]# /opt/python3/bin/python3 -V Python 3.2.3 nikos@superhost.gr [~]# /usr/bin/python3 -V Python 3.2.3=20 Problem is that when i change my shebang constructor to #!/sur/bin/python3 = my '/cgi-bin/metrites.py' python cgi scripts produces an internal server er= ror while with #!/sur/bin/python the script works. Any ideas as to why? I can post ocde if you want to.