Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Python

Create a message

 

 

Python python RSS feed   Index | Next | Previous | View Threaded


sthembilengidi at gmail

Oct 22, 2008, 3:21 AM

Post #1 of 4 (173 views)
Permalink
Create a message

Hi,

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

Or provide me with the link that has info regarding that

Thanks
Amie
--
http://mail.python.org/mailman/listinfo/python-list


prologic at shortcircuit

Oct 22, 2008, 3:44 AM

Post #2 of 4 (167 views)
Permalink
Re: Create a message [In reply to]

On Wed, Oct 22, 2008 at 8:21 PM, Amie <sthembilengidi [at] gmail> 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"
--
http://mail.python.org/mailman/listinfo/python-list


sthembilengidi at gmail

Oct 22, 2008, 4:23 AM

Post #3 of 4 (155 views)
Permalink
Re: Create a message [In reply to]

On Oct 22, 12:44 pm, "James Mills" <prolo...@shortcircuit.net.au>
wrote:
> On Wed, Oct 22, 2008 at 8:21 PM, Amie <sthembileng...@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"

for example, I wanna display a message that contains a persons age
from the database like so: "Your age is 25". kind of like a messagebox
--
http://mail.python.org/mailman/listinfo/python-list


prologic at shortcircuit

Oct 22, 2008, 4:44 AM

Post #4 of 4 (168 views)
Permalink
Re: Create a message [In reply to]

On Wed, Oct 22, 2008 at 9:23 PM, Amie <sthembilengidi [at] gmail> wrote:
> for example, I wanna display a message that contains a persons age
> from the database like so: "Your age is 25". kind of like a messagebox

Amie, you're just picking random behavioral
examples that you've seen in the software
world and asking how to do them in Python.

Please go through the Python tutorial,
after that go through a few User Interface
related tutorials such as Tkinter, or GTK, or
similar.

Once you have some background and a real
problem to solve, we'll help you. This list is
not designed to hold your hand and teach
you everything about computer science /
software.

Have a pleasant evening,

cheers
James

--
--
-- "Problems are solved by method"
--
http://mail.python.org/mailman/listinfo/python-list

Python python RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.