Help with regexp please

Felix Collins felix at keyremovethisghost.com
Fri Jul 22 00:39:56 EDT 2005


Christopher Subich wrote:
> Scott David Daniels wrote:
Thanks to you both.  Wow!  what a quick response!

 >string.rsplit('.',1)[0]

Clever Python!  ;-)


Sorry, I mainly code in C so I'm not very Pythonic in my thinking.
Thanks again...

Felix



More information about the Python-list mailing list