| Python 2.2 für Einsteiger | ||
|---|---|---|
| <<< Previous | Einführung anhand von Beispielen | Next >>> |
#!/usr/bin/python
import md5
file = open("test","r")
m=md5.new()
confdata = file.read()
file.close()
#confdata.sort()
m=md5.new()
m.update(confdata)
print confdata,m.digest(),"\n\n"
print "test.md5\n\n",md5.new("test").digest()
| <<< Previous | Home | Next >>> |
| Code Reuse Beispiel | Up | HTTP-Server mit CGI-BIN |