<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Strings' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Strings' posted on the 'Python' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2012 Programmers Heaven</copyright>
    <pubDate>Wed, 23 May 2012 23:37:34 -0700</pubDate>
    <lastBuildDate>Wed, 23 May 2012 23:37:34 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Strings</title>
      <link>http://www.programmersheaven.com/mb/python/399583/399583/strings/</link>
      <description>I can't find the error in the following code, can someone help me out please? I really don't like this python IDE, is there a better one I can use?&lt;br /&gt;
&lt;br /&gt;
Here is the error message I'M getting.&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
  File "&amp;lt;pyshell#14&amp;gt;", line 1, in -toplevel-&lt;br /&gt;
    + "\nBut what " + "you don't know," + " is that " + "it's one real" \&lt;br /&gt;
TypeError: bad operand type for unary +&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;# Silly Strings
# Demonstrates string concatenation and repetition


print "You can concatenate two " + "strings with the '+' operator." \

    + "\nBut what " + "you don't know," + " is that " + "it's one real" \
    + "l" + "y" + " long string, created from the concatenation " \
    + "of " + "thirty-two " + "different strings, broken across " \
    + "nice lines." + " Now you are" + " impressed?\n\n" + "See, " \
    + "even newlines can be embedded into a single string, making" \
    + " it look " + "as " + "if " + "it" + "'s " + "got " + "to " \
    + "be" + " multiple strings." + " Okay, now this " + "one " \
    + "long" + "string " + "is over!"

print \
"""
If you really like a string, you can repeat it. For example, who doesn't
like pie? That's right, nobody. But if you really like it, you should
say it liek you mean it:""",

print "Pie" * 10

print "\nNow that's good eating."

raw_input("\n\nPress the enter key to exit.")&lt;/pre&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/python/399583/399583/strings/</guid>
      <pubDate>Wed, 23 Sep 2009 09:30:34 -0700</pubDate>
      <category>Python</category>
    </item>
    <item>
      <title>Re: Strings</title>
      <link>http://www.programmersheaven.com/mb/python/399583/411097/re-strings/#411097</link>
      <description>I have no idea why u were having problems with that, in python 2.5 it does well and it should do also in 2.6. in IDLE it says there is an unindented block...&lt;br /&gt;
WATCH YOUR SYNTAX!!!&lt;br /&gt;
&lt;br /&gt;
working code:&lt;br /&gt;
&lt;pre class="sourcecode"&gt;# Silly Strings
# Demonstrates string concatenation and repetition


print "You can concatenate two " + "strings with the '+' operator." \
    + "\nBut what " + "you don't know," + " is that " + "it's one real" \
    + "l" + "y" + " long string, created from the concatenation " \
    + "of " + "thirty-two " + "different strings, broken across " \
    + "nice lines." + " Now you are" + " impressed?\n\n" + "See, " \
    + "even newlines can be embedded into a single string, making" \
    + " it look " + "as " + "if " + "it" + "'s " + "got " + "to " \
    + "be" + " multiple strings." + " Okay, now this " + "one " \
    + "long" + "string " + "is over!"

print \
"""
If you really like a string, you can repeat it. For example, who doesn't
like pie? That's right, nobody. But if you really like it, you should
say it liek you mean it:""",

print "Pie" * 10

print "\nNow that's good eating."&lt;/pre&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/python/399583/411097/re-strings/#411097</guid>
      <pubDate>Tue, 22 Dec 2009 17:48:07 -0700</pubDate>
      <category>Python</category>
    </item>
  </channel>
</rss>
