Create a message

James Mills prologic at shortcircuit.net.au
Wed Oct 22 12:44:48 CEST 2008


On Wed, Oct 22, 2008 at 8:21 PM, Amie <sthembilengidi at gmail.com> wrote:
> I would like to know if it's possible to display a message using
> python, if so can you show me an example.
> I saw something like:" from twisted.python import log
> log.msg" in some programs but am not too sure how it works

Define "message".

Message could be:
 * a GUI related/rendered message
 * a Web-based related/rendered message
 * a simple (stdout) printed message
 * a stored log message, syslog, etc

Simplest example:

>>> print "Hello World"
Hello World

cheers
James

-- 
--
-- "Problems are solved by method"



More information about the Python-list mailing list