Olá, andei fazendo algo em python, gostaria que conferissem e me
dissessem como faço agora para usar isso com os hook-scripts do
subversion:
##### inicio #####
#!/usr/bin/python
def semacento(nomearquivo):
n = nomearquivo
a = 'abcdefghijklmnopqrstuvwxyz 0123456789.'
c = []
for i in range(len(n)):
for j in range(len(a)):
if n[i] == a[j] or n[i] == a[j].upper():
break
if j == (len(a) - 1):
c.append(n[i])
if len(c) == 0:
return 0
else:
return 1
##### fim #####
2007/2/22, Fabricio aybabtu Cannini <[EMAIL PROTECTED]>:
Em Thursday 22 February 2007 14:26, RicardoFunke escreveu:
> massa, que pena que eu não saiba nada sobre perl
http://learn.perl.org ;)
--
Remember, remember the 8th of November...
The OS upgrade season and plot
I know of no reason
Why this Windows version should ever be bought