Re: How can I create a linked list in Python?

2007-01-16 Thread ray223
Dongsheng Ruan wrote: > with a cell class like this: > > #!/usr/bin/python > > import sys > > class Cell: > > def __init__( self, data, next=None ): > self.data = data > self.next = next > > def __str__( self ): > return str( self.data ) > > def echo( self ): > print self.__str__() Hi

Re: How to delete a directory tree in FTP

2006-08-16 Thread ray223
T wrote: > I connect to a FTP server which can be either unix or windows server. > Once in the FTP session, I would like to delete a directory tree on the > server. Is there a command that will do this? If not, can someone > point me to a right direction? > > Thanks! Have a look at rmtree in ftp

Re: Py2exe make wxPython window looks bad

2006-06-30 Thread ray223
zdp wrote: > Dear all: > > I made a window program by wxPython. Split windows, treectrl, listctrl > and textctrl are used. When I program in python, the look & feel of the > window controls are like the windos XP look & feel, with thin and flat > border (My os is window XP). It's natural because,

Re: setuptools, ez_setup over http proxy

2005-10-13 Thread ray223
yoda wrote: > I've recently configured my network such that I use squid as a http > proxy. I'd now like to be able to use setuptools and ez_setup via this > proxy. Is this possible? If so, how do I do it? > > The most that the setuptools documentation says is > (http://peak.telecommunity.com/Dev