Error solution

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


In news:mailman.1060852019.2478.python-list at python.org,
Sanjeev Trehan <strehan at asahiindia.com> 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
2

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

--

Greets,
Nikola
( http://zweistein.cjb.net )






More information about the Python-list mailing list