473,511 Members | 15,624 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
Oct 22 '08 #1
3 1266
On Wed, Oct 22, 2008 at 8:21 PM, Amie <st************@gmail.comwrote:
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"
Oct 22 '08 #2
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.comwrote:
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
Oct 22 '08 #3
On Wed, Oct 22, 2008 at 9:23 PM, Amie <st************@gmail.comwrote:
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"
Oct 22 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3093
by: Keith Jakobs, MCP | last post by:
Greetings: I had seen several posts around the Internet about this issue from a few months back, but have been unable to find a resolution ... I have a user who is trying to get started with...
7
8823
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
6
3297
by: SamIAm | last post by:
Hi am creating a email application that needs to mail out a very large amount of emails. I have created a multithreaded c# application that using message queuing. I have created a threadpool of 5...
2
30126
by: Dennis C. Drumm | last post by:
This is a restatement of an earlier post that evidently wasn't clear. I am building a custom MessageBox dialog that has, among other things, a few new button options (yes to all, no to all, etc.)...
15
12766
by: Brian Rogers | last post by:
Hello everyone, I apologize for the cross and re-post, but I am still searching for an answer. Why can C++ can create this object, but C# can't? I am trying to create an instance of the...
4
4385
by: I_AM_DON_AND_YOU? | last post by:
There is one more problem I am facing but didn't get the solution. In my Setup Program I am not been able to create 2 things (when the program is intalled on the client machine ) : (1) create...
10
8770
by: Zack Sessions | last post by:
Has anyone tried to create a SQL7 view using the CREATE VIEW command and ADO.NET? If so, is there a trick in trapping a SQL error when trying to create the view? I have a VB.NET app that, amoung...
27
3741
by: max | last post by:
Hello, I am a newbye, and I'm trying to write a simple application. I have five tables with three columns; all tables are identical; I need to change some data in the first table and let VB...
7
3461
by: Wiebe Tijsma | last post by:
Hi, I'm using C# + webDAV to create a draft message to be sent in a user's Drafts folder. I can create the message successfully, however when I open the message in outlook, it doesn't show...
10
2562
by: AAaron123 | last post by:
I want to create a database with one table on the host. I can't user SQL Server Management Studio to do it so I guess I have to do it programmatically. I have in mind that in the session start...
0
7252
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7153
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7371
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7093
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
5077
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4743
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3230
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
452
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.