nstance
instead of a function instance has messed up the magic of the dot
operator, causing it not to bind the foo instance to the self
argument.
Can anybody shed some light on what's happening here?
Also, I really do like using classes as decorators. Are there any
workarounds to get it to wor
Hi everybody,
I have the following in my python startup file:
import readline, rlcompleter
readline.parse_and_bind("tab: complete")
This lets me tab complete identifiers in the interpreter beautifully, but
there's a tiny problem... If I'm sitting at the beginning of a blank line
and just want a
That's much better than what I was about to post:
for s in stoplist:
string.join(mystr.split(s, ""))
Berlin: Why are you keen on avoiding split()?
On 1/17/08, Karthik <[EMAIL PROTECTED]> wrote:
>
> How about -
>
> for s in stoplist:
> string.replace(mystr, s, "")
>
> Hope this should
branch.
What is the best way to go about doing this?
Best regards,
Casey Rodarmor
--
http://mail.python.org/mailman/listinfo/python-list