display messages in python shell

Jens j3nsby at gmail.com
Mon Nov 19 13:55:17 EST 2007


On 19 Nov., 19:48, kou... at hotmail.com wrote:
> Is it possible to display messages in the python shell?  I want to
> display error messages based on parameters in my scripts to the
> users.  Is there another way to display messages other than log
> files?  Thanks.
>
> Kou

What about using print? For example:

print "This is a message."



More information about the Python-list mailing list