Load external file

You can try to save the data manually (I explained it here), and ‘encrypt’ the data using zlib. It’s not really encrypted, but only by decompressing the data via code you can reveal it.

import zlib

data = "This is a test string.".encode() # The data must be bytes
data_encrypted = zlib.compress(data)