How do I open a file in Python 3, like in a different program not as a text file. All solutions I found online were like this
f1 = open("something.txt", "r")
print(f1.read())
f1.close()
but that just outputs the file contents. I want to open i.e. an .exe file as an executable.
How can I do this?