Error solution

Nikola Plejic nplejic.remove at
Thu Aug 14 15:21:23 CEST 2003

In news:mailman.1060852019.2478.python-list at,
Sanjeev Trehan <strehan at> wrote:

> Dear All,
> I am a new to Python,just started few days back.I have installed
> Python23.exe.Also downloaded the totorial of Guido van Rossum
> Fred L. Drake, Jr., editor Release 2.3
> July 29, 2003
> When I write in command line the following eoors come:
>>>> print a

I think you are trying to print a content of the variable "a" but you haven't
declared the variable... Try this:
>>> a = 2
>>> print a

Altough the error message doesn't really point to this error, it is a possible
cause for your test not to work.


( )

More information about the Python-list mailing list