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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'frameworks': 0.05; "subject:' ": 0.07; 'python': 0.09; 'sep': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; 'charset:iso-8859-7': 0.15; 'sat,': 0.15; 'weird': 0.15; 'wrote:': 0.17; 'element': 0.17; 'written': 0.20; 'cc:2**0': 0.23; 'work.': 0.23; '15,': 0.23; 'cc:no real name:2**0': 0.24; 'tried': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'plain': 0.27; 'possibly': 0.27; 'subject:list': 0.28; 'chris': 0.28; 'code': 0.31; 'problem.': 0.32; 'switch': 0.32; 'extract': 0.33; 'changed': 0.34; 'received:google.com': 0.34; 'pm,': 0.35; 'too.': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'but': 0.36; 'too': 0.36; 'rather': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'gives': 0.39; 'list,': 0.39; 'solve': 0.62; 'visit': 0.64; '1st': 0.81 Newsgroups: comp.lang.python Date: Sat, 15 Sep 2012 06:53:37 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=94.68.84.56; posting-account=DYJQ-woAAACEPH85Au2BhUVfFTfSfVa4 References: <071ad036-77ca-42d3-b68d-0dd3e3fac43e@googlegroups.com> <2138d293-c411-404d-bbf1-1afbae3fc597@googlegroups.com> User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 94.68.84.56 MIME-Version: 1.0 Subject: Re: cannot concatenate 'str' and 'list' objects From: =?ISO-8859-7?B?zenq/Ovh7/Igyu/98eHy?= 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: 33 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1347717221 news.xs4all.nl 6877 [2001:888:2000:d::a6]:41904 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:29228 =D4=E7 =D3=DC=E2=E2=E1=F4=EF, 15 =D3=E5=F0=F4=E5=EC=E2=F1=DF=EF=F5 2012 4:3= 8:51 =EC.=EC. UTC+3, =EF =F7=F1=DE=F3=F4=E7=F2 Chris Angelico =DD=E3=F1=E1= =F8=E5: > On Sat, Sep 15, 2012 at 11:28 PM, =CD=E9=EA=FC=EB=E1=EF=F2 =CA=EF=FD=F1= =E1=F2 wrote: >=20 > > Iam not using frameworks just plain python code written in Notepad++ >=20 > > >=20 > > Can you please tell me how to switch this line in order for this line t= o work? >=20 >=20 >=20 > f =3D open( '../' + page[0]) >=20 >=20 >=20 > will possibly work. But do try to understand what's happening, rather >=20 > than simply solve the problem. You may find that something else has >=20 > changed too. >=20 >=20 >=20 > ChrisA i see you try to extract only the 1st element of the list, i tried that too= but it gives me now this weird message: if you visit my website http://superhost.gr