[Edu-sig] OK, time for 2.4

Guido van Rossum gvanrossum at gmail.com
Sun Oct 24 21:07:05 CEST 2004


> Even in a command window it's not working for me:
> 
> C:\Documents and Settings\Kirby>d:\python24\python
> Python 2.4b1 (#57, Oct 15 2004, 15:23:38) [MSC v.1310 32 bit (Intel)] on
> win32
> Type "help", "copyright", "credits" or "license" for more information.
> >>> help(decimal)
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> NameError: name 'decimal' is not defined
> >>>

Ah, but you have to use quotes around the argument if you haven't
imported it yet -- this is a standard help() feature that you seem to
be unaware of and apparently missed in my example.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Edu-sig mailing list