Re: Confused with csv.reader copies

2007-07-23 Thread Jeethu Rao
Robert Dailey wrote: > First, take a look at my example code: > - > import csv > > def pass1( reader ): > print reader.next() > print reader.next() > > def pass2( reader ): > print reader.next() > print reader.next() > > re

Re: class instance scope

2006-07-24 Thread Jeethu Rao
You could possibly make the log class a singleton or a borg. Jeethu Rao Ritesh Raj Sarraf wrote: >>> log = foo.log(x, y, z) >>> >>> > > Resulting line is: > log = foo.log(x, y, z) > global log > > Making the instance "log" global mak

Re: PEP thought experiment: Unix style exec for function/method calls

2006-06-26 Thread Jeethu Rao
least in the embedded world :) Jeethu Rao Michael wrote: > Hi, > > > [ I'm calling this PEP thought experiment because I'm discussing language > ideas for python which if implemented would probably be quite powerful > and useful, but the increased risk of ob

Re: Python to PHP Login System (HTTP Post)

2006-06-22 Thread Jeethu Rao
You need to use httplib. http://docs.python.org/lib/httplib-examples.html Jeethu Rao -- http://mail.python.org/mailman/listinfo/python-list

Re: python socket proxy

2006-06-07 Thread Jeethu Rao
Simplest way would be to rename your python file with a .pyw extension instead of a .py extension. If you're looking for windows services, checkout win32serviceutil.ServiceFramework in pywin32. Jeethu Rao [EMAIL PROTECTED] wrote: > Hi > > Thanks for the reply. > > I foun

Re: secure xmlrpc server?

2006-06-07 Thread Jeethu Rao
Using Twisted on the server side for xmlrpc doesn't restrict your options to using only Twisted on the client side. Nothing prevents you from using xmlrpclib.ServerProxy on the client side. Jeethu Rao Laszlo Nagy wrote: > Hello, > > I'm trying to create a simple XMLRPC serv