10 points
The HOWTO page has more details on using files, modules, and rules about the specific transforms you will write. It includes suggested steps if you don't know how to get started with this assignment.
This paragraph has appeared for a while in places on the Internet, the video to the left debunks it. According to Researchers at Cambridge University (see, e.g., snopes for information):
Aoccdrnnig to rscheearch at Cmabrigde uinervtisy, it deosn't mttaer waht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht the frist and lsat ltteres are at the rghit pclae. The rset can be a tatol mses and you can sitll raed it wouthit a porbelm. Tihs is bcuseae we do not raed ervey lteter by it slef but the wrod as a wlohe.
Alternatively, consider pig-latin. According to editors Lewis and Onuf, in the book Sally Hemings & Thomas Jefferson, Jefferson used pig-latin to code passages in his diary that he wanted "hidden", though others apparently disagree. Amazingly, Google will provide a pig-latin interface if you use this special URL.
In this part you will translate text to Pig-latin by reading a file, and then writing the piglatin translation to a new file. You'll then write code to read a file in pig-latin and translate it back to English.
In this part you will read in a file and encrypt the file using the Caesar Cipher technique, writing the encrypted version of the text to a new file. You will also write several decrypt methods to translate the encrypted file back into an English file. Sometimes you will know the key to decrypt the file and other times you will need to break the encryption by determining the key.
Snarf the files for assignment 4. The files include
PiglatinTransform.py
and follow the requirements on the
HOWTO page
CaesarTransform.py
and follow the requirements on the
HOWTO page
PiglatinTransform.py
module
CaesarTransform.py
module
unencr-encr-mystery1.txt
decrypted file
unencr-encr-mystery2.txt
decrypted file