<div dir="ltr">I&#39;ve pasted the following from my python shell.&nbsp; Please note that the first two lines of code are taken directly from the standard tutorial files under section <a href="http://3.1.2." target="_blank">3.1.2.</a>&nbsp; Will someone please tell me why something as basic and straightforward as this will not work?&nbsp; Everything else seems to work just fine, but not this.&nbsp; All I need is someway to get the length of a string...<br>
<div class="gmail_quote"><div dir="ltr"><span style="font-family: courier new,monospace;">
<br>please help,<br><br>nosh<br><br><br>Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on win32</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Type &quot;copyright&quot;, &quot;credits&quot; or &quot;license()&quot; for more information.</span><br style="font-family: courier new,monospace;">

<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; ****************************************************************</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; Personal firewall software may warn about the connection IDLE</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; makes to its subprocess using this computer&#39;s internal loopback</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; interface.&nbsp; This connection is not visible on any external</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; interface and no data is sent to or received from the Internet.</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; ****************************************************************</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">IDLE 1.2.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ==== No Subprocess ====</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&gt;&gt;&gt; s = &#39;supercalifragilisticexpialidocious&#39;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">&gt;&gt;&gt; len(s)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Traceback (most recent call last):</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">&nbsp; File &quot;&lt;pyshell#1&gt;&quot;, line 1, in &lt;module&gt;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; len(s)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">TypeError: &#39;str&#39; object is not callable</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&gt;&gt;&gt; s</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">&#39;supercalifragilisticexpialidocious&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&gt;&gt;&gt; len(s)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">Traceback (most recent call last):</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp; File &quot;&lt;pyshell#3&gt;&quot;, line 1, in &lt;module&gt;</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; len(s)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">TypeError: &#39;str&#39; object is not callable</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">&gt;&gt;&gt;</span><br style="font-family: courier new,monospace;"></div>
</div><br></div>