Re: display messages in python shell

2007-11-20 Thread jose Barcelona
Hi Kou, I use this in http://cern.ch/test-volunteers... to redirect error messages... \etc hope it helps #!/usr/bin/python import os import cgi import safeeval import sys import string import time import re import urllib class PitonEsFacilException(Exception): "Base class for all Excep

Re: display messages in python shell

2007-11-19 Thread Bruno Desthuilliers
Jens a écrit : > On 19 Nov., 19:48, [EMAIL PROTECTED] 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 > > >

Re: display messages in python shell

2007-11-19 Thread Jens
On 19 Nov., 19:48, [EMAIL PROTECTED] 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

display messages in python shell

2007-11-19 Thread koutoo
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 -- http://mail.python.org/mailman/listinfo/python-list