Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.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.014 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; '2.7': 0.04; 'python': 0.08; 'subject:string': 0.09; 'to:name:python list': 0.09; 'doing,': 0.16; 'stumping': 0.16; 'subject:Newbie': 0.16; 'subject:questions': 0.16; 'way"': 0.16; 'received:74.125.82.174': 0.16; 'received:mail-wy0-f174.google.com': 0.16; 'everyone,': 0.19; 'stuff': 0.22; 'emphasis': 0.23; 'message- id:@mail.gmail.com': 0.28; 'hey': 0.28; 'do.': 0.30; 'differences': 0.30; 'strings.': 0.30; 'seem': 0.32; "can't": 0.32; 'does': 0.33; 'to:addr:python-list': 0.33; 'actually': 0.33; 'things': 0.33; 'do?': 0.35; 'using': 0.35; 'certain': 0.36; 'received:google.com': 0.37; 'issue': 0.37; 'two': 0.37; 'received:74.125.82': 0.38; 'received:74.125': 0.38; 'but': 0.38; 'question,': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'super': 0.63; 'details': 0.64; 'anywhere.': 0.84; '"learn': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=WTVJ8WdaO9HW2b2q6gNtal+QbJtOz5hUsORmvJw7hn0=; b=ktVgq+jPHYdWb/9cq4BGJByg3nEsb7aG284ocdjOru9sUdLwb3WGG4H4SRTGhOopum B8PYMT3jhW8KQjxXt6pJLXlTlqCA3seMBl6O9E0mCwhihXfMs5tm0R4Dg0h+xPyrrNkC np9sxG1efrd9UzwaKFwWu4alTJ0uclwwbz8l0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=A1GzTanM2w61kCu/97a30KrIdiwfZikZR42gcobyXGwimVlVmtw8rULQubl5qvQzGS mzSxyq3/JLwfhn2iu95J6DgqplI9VaKrV5ZS3whvysBn0s3Xi/2R5JX3A7LTG1lhGO7C qAaeERNuSqD4Jkog5/kstC1bxoOeg/nSPQYbI= MIME-Version: 1.0 Date: Wed, 25 May 2011 09:06:02 -0400 Subject: Newbie string questions From: Matty Sarro To: Python list Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 82.94.164.166 X-Trace: 1306328771 news.xs4all.nl 49179 [::ffff:82.94.164.166]:51368 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:6235 Hey everyone, This is a super noob question, so please be gentle. I am working my way through "Learn Python the Hard Way" using both python 2.7 and python 3.1 (I want to get a handle on the differences between the two - the intention to write things in python 3 but be able to understand things from python 2). The first quarter or so of the book details lots of stuff about strings. Most of the learning is by doing, with less of an emphasis on the theory behind what certain things actually do. The issue is, I can't seem to find some of the items in the documentation. Right now what is stumping me... what exactly does %r do? I can't find it in the documentation anywhere. -Matty