Joshua Nikkel wrote:
ah that was it. I had a variable named len earlier. On a restart it
was fine. Thanks!
Besides that you have a HUGE error!!!
Your spelling! It should be :
s = 'supercalifragilisticoexpialidoso'
:P
On Sun, Aug 10, 2008 at 2:04 PM, Robert Berman [EMAIL
I've pasted the following from my python shell. Please note that the first
two lines of code are taken directly from the standard tutorial files under
section 3.1.2. Will someone please tell me why something as basic and
straightforward as this will not work? Everything else seems to work just
No. Not so.
Observe, please:
Python 2.5.2 (r252:60911, May 7 2008, 15:19:09)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "copyright", "credits" or "license()" for more information.
Personal firewall software may warn
ah that was it. I had a variable named len earlier. On a restart it was
fine. Thanks!
On Sun, Aug 10, 2008 at 2:04 PM, Robert Berman [EMAIL PROTECTED]wrote:
No. Not so.
Observe, please:
Python 2.5.2 (r252:60911, May 7 2008, 15:19:09)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type
I've pasted the following from my python shell. Please note that the first
two lines of code are taken directly from the standard tutorial files under
section 3.1.2. Will someone please tell me why something as basic and
straightforward as this will not work? Everything else seems to work just
Joshua Nikkel wrote:
IDLE 1.2.2 No Subprocess
s = 'supercalifragilisticexpialidocious'
len(s)
Traceback (most recent call last):
File pyshell#1, line 1, in module
len(s)
TypeError: 'str' object is not callable
My guess would be that you've reassigned the name 'len' to