[Tutor] How to write server which listens to specific port

2009-04-09 Thread ShivKumar Anand
Dear All, Greetings I have developed an application in Python 2.4.2, TurboGears 1.0, cherryPy 2.3.1. Now, I have to develop a server, which listens to a specific port (104) and save the file to a specific location (/tmp/myDir) on RHEL 4/5. Guide me how to do that. what all packages I

Re: [Tutor] How to write server which listens to specific port

2009-04-10 Thread ShivKumar Anand
i, 10 Apr 2009 09:23:36 +0100 > Subject: Re: [Tutor] How to write server which listens to specific port > > > "ShivKumar Anand" wrote > > > I have developed an application in Python 2.4.2, TurboGears 1.0, cherryPy > > 2.3.1. > > Well done. > > >

Re: [Tutor] How to write server which listens to specific port

2009-04-13 Thread ShivKumar Anand
> From: ken...@tds.net > To: shiv_...@hotmail.com > CC: tutor@python.org > > On Fri, Apr 10, 2009 at 4:59 AM, ShivKumar Anand wrote: > > > I have to implement HL7 in my existing application. > > so, I have to send/receive messages which are in a text file (not > >

[Tutor] installing Turbogears without using Internet

2007-05-14 Thread ShivKumar Anand
hello Tutors, I want solution to my problem. I want to install Turbogears and Cherrypy without using internet. means that locally is i have eggs. how it is possible? Shiv Kumar _ Palate Teasers: Straight from Master Chef! http://

[Tutor] ImportError: No module named _apache

2007-05-15 Thread ShivKumar Anand
dear all, I am trying to implement a text from mod_python manual. the code is: from mod_python import apache def handler(req):req.content_type ="text/plain\n\n" req.send_http_header()req.write("Hello World!!!")return apache.ok and the conf file of apache is having AddHa

[Tutor] PythonHandler mpcp: AttributeError: 'module' object has no attribute 'argv'

2007-05-19 Thread ShivKumar Anand
dear all, I am trying to run turbogears application using Apache on windows and the start_prj.py is from os.path import *import sys #if len(sys.argv) > 1:#update_config(configfile=sys.argv[1], modulename="wiki30.config") sys.argv[0]="d:/web/Wiki-30"sys.argv[1]="d:/web/Wiki-30/dev.conf"

[Tutor] Image Matching

2008-08-15 Thread ShivKumar Anand
Hello!! Everyone, I have to match two images and tell how much identical they are. I am trying with Python Imaging Library 1.2.6, but not able to do it I am using ImageChops.difference(im1, im2).histogram() and trying to achieve. regards Shiv Kumar

[Tutor] unable to import Image module from my application

2008-09-30 Thread ShivKumar Anand
I am using Python Image library on windows and it is running well. I am using RHEL E4 on another machine and when I installed "python-imaging-1.1.6-2.el4.rf.i386.rpm", still i am not able to call the Image and ImagOps modules from my application on this Linux machine. After that --I manually