Re: Change case of package name on PyPI

2010-08-29 Thread David Zaslavsky
On Sunday 29 August 2010 7:09:37 pm Ben Finney wrote: > David Zaslavsky writes: > > I recently uploaded a package to PyPI under a name with mixed-case > > letters, but in retrospect I think it'd be better to have the package > > name be all lowercase. Is there a way

Change case of package name on PyPI

2010-08-29 Thread David Zaslavsky
Hi everyone, I recently uploaded a package to PyPI under a name with mixed-case letters, but in retrospect I think it'd be better to have the package name be all lowercase. Is there a way I can change it? Thanks, :) David -- http://mail.python.org/mailman/listinfo/python-list

Re: configuration setting for python server

2010-06-15 Thread David Zaslavsky
On Monday 14 June 2010 11:29:35 pm shanti bhushan wrote: > do we have some configuration file for python server?? No. As people have explained in reply to your other messages, Python's BaseHTTPServer does not use any configuration files. If you want a web server which uses a configuration file,

Re: configuration setting for python server

2010-06-14 Thread David Zaslavsky
On Monday 14 June 2010 6:19:33 am shanti bhushan wrote: > I want to update the configuration file for python server ,but i am > not able to locate the python configuration file. What configuration file? I don't see anything in your code that reads a configuration file. :) David -- http://mail.py

Re: __getattribute__ and methods proxying

2010-06-12 Thread David Zaslavsky
Hi, The problem is that when you make this call: > proc.cmdline() there are really two steps involved. First you are accessing proc.cmdline, then you are calling it. You could think of it as this: func = proc.cmdline func() __getattribute__ is able to modify how the first step works, but not th

Re: Human word reader

2010-05-15 Thread David Zaslavsky
Here's my take on that: loc = re.search('for\s+(\w+)', string).group(1) Not much different, really, but it does allow for multiple spaces (\s+) as well as requiring at least one character in the word (\w+), and I use a matching group to extract the location directly instead of splitting the s