In [ ]:
# Import DNA file DNA.txt to see what it is?
with open('DNA.txt', 'r') as myfile:
data = myfile.read()
print(data)
In [ ]:
# Compile the DNA
from ASCIIcodons import DNAToText
obj = DNAToText();
obj.translate("DNA.txt", "returnText.txt");
In [ ]:
# Read the Message
with open('returnText.txt', 'r') as myfile:
data2 = myfile.read()
print(data2)
In [ ]: