Ian Bicking wrote:
> On Thu, 2002-06-20 at 04:52, Steve Freitas wrote:
>
>>Emacs: Its inability to handle triple-quoted blocks properly ruins the
>>syntax highlighting, and that's that. It sure indents well, though.
>
>
> Doc strings should use """ (not '''), and that usually gets rid of the
> problem. Webware still has ''' scattered throughout many classes, and
> that causes problems... I guess that should be fixed.
#!/usr/bin/python2
import glob,os
from stat import *
for file in glob.glob('* */* */* */*/* */*/*/*'):
if (S_ISREG(os.stat(file)[ST_MODE])):
contents=open(file).read()
open(file,'w').write(contents.replace("'''",'"""'))
--
Bill Eldridge
Radio Free Asia
[EMAIL PROTECTED]
-------------------------------------------------------
Bringing you mounds of caffeinated joy
>>> http://thinkgeek.com/sf <<<
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss