Files
knowit_julekalender-2017/luke_03/steganography.py

12 lines
285 B
Python
Executable File

#!/usr/bin/env python3.6
import subprocess, os
def main():
path = os.path.dirname(os.path.realpath(__file__)) + '/bilde.png'
result = subprocess.run(['zsteg', path], stdout=subprocess.PIPE)
decode = result.stdout.decode('utf-8')
return decode
if __name__ == '__main__':
main()