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.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'frameworks': 0.05; "subject:' ": 0.07; 'python': 0.09; 'sep': 0.09; 'charset:iso-8859-7': 0.15; 'sat,': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.17; 'written': 0.20; 'received:209.85.214.174': 0.21; 'work.': 0.23; '15,': 0.23; 'header:In-Reply-To:1': 0.25; 'plain': 0.27; 'possibly': 0.27; 'message-id:@mail.gmail.com': 0.27; 'subject:list': 0.28; 'code': 0.31; 'problem.': 0.32; 'switch': 0.32; 'to:addr:python-list': 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; 'rather': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'header:Received:5': 0.40; 'solve': 0.62 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=/9nB4PsPE95L+Vm9EketaJDxFfBAvBOG6ZsXeL/tclQ=; b=fNM8rcQrx88NHtNa7zUs58S+/p9qcIbONa0DPAew54s7sUfFg2JFXwPGKWS0E0er9i M932NQ3gRmnDHWOmGSephJkqqNjmHO5OZE72y9pmez7ZABXMOQ03A3eYZeobIDc5/H11 np95DlhLkf2GfjqzXfsQo/4HvS8vXtAsWDZwoQljo/erxvCqLMKqMn+MaqGHZNRsPPoq QgCn+D0uxVRphiIJxbJ0+xlulBPXCT53qjuoIdODV4/PQG+OZSxRj51YXJyy1Gwlyn+H xp+bxpRG/t2wcViY9H+xfs47VTW6ijvbPiQ/oxLF9wrVCBQo/cE7pIhzz3lAzMNz7TJC Ptdw== MIME-Version: 1.0 In-Reply-To: <2138d293-c411-404d-bbf1-1afbae3fc597@googlegroups.com> References: <071ad036-77ca-42d3-b68d-0dd3e3fac43e@googlegroups.com> <2138d293-c411-404d-bbf1-1afbae3fc597@googlegroups.com> Date: Sat, 15 Sep 2012 23:38:09 +1000 Subject: Re: cannot concatenate 'str' and 'list' objects 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1347716291 news.xs4all.nl 6884 [2001:888:2000:d::a6]:34809 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:29225 On Sat, Sep 15, 2012 at 11:28 PM, =CD=E9=EA=FC=EB=E1=EF=F2 =CA=EF=FD=F1=E1= =F2 wrote: > Iam not using frameworks just plain python code written in Notepad++ > > Can you please tell me how to switch this line in order for this line to = work? f =3D open( '../' + page[0]) will possibly work. But do try to understand what's happening, rather than simply solve the problem. You may find that something else has changed too. ChrisA