codice:
file=open("file.txt")
print file.read().encode("hex")
file.close()