This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
####################################################################################################################### | |
# Authors: Christopher Duarte, Kenneth Brenner # | |
# Porject: Lab1 # | |
# Program: lab1.py # | |
# Class: IST 600, Scripting Foundations # | |
# Instructor: Professor Paul Morarescu # | |
# Date: 16SEPTEMBER2013 # | |
#=====================================================================================================================# | |
# Lab 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
####################################################################################################################### | |
# Authors: Christopher Duarte, Kenneth Brenner # | |
# Porject: Lab2 # | |
# Program: lab2.py # | |
# Class: IST 600, Scripting Foundations # | |
# Instructor: Professor Paul Morarescu # | |
# Date: 07October2013 # | |
#=====================================================================================================================# | |
# Lab 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#=========================================================== | |
#title :keys.py | |
#description :This module will provide keys for encrypting and | |
# decrypting a txt file. | |
#authors :Kenneth Brenner, Christopher Duarte | |
#date :29OCT2013 | |
#python_version :2.7.5 | |
#=========================================================== | |
# Import modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#=========================================================== | |
#title :encrypter.py | |
#description :This module will encrypt or decrypt a string. | |
#authors :Kenneth Brenner, Christopher Duarte | |
#date :29OCT2013 | |
#python_version :2.7.5 | |
#=========================================================== | |
def encryptString(s, key): | |
''' Encrypts string s using the provided key. Returns the encrypted string. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#=========================================================== | |
#title :caesar.py | |
#description :This will decrypt a caesar file. | |
#authors :Kenneth Brenner, Christopher Duarte | |
#date :29OCT2013 | |
#python_version :2.7.5 | |
#=========================================================== | |
# Import modules | |
import string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#=========================================================== | |
#title :keys.py | |
#description :This module will provide keys for encrypting and | |
# decrypting a txt file. | |
#authors :Kenneth Brenner, Christopher Duarte | |
#date :29OCT2013 | |
#python_version :2.7.5 | |
#=========================================================== | |
# Import modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#=========================================================== | |
#title :encrypter.py | |
#description :This module will encrypt or decrypt a string. | |
#authors :Kenneth Brenner, Christopher Duarte | |
#date :29OCT2013 | |
#python_version :2.7.5 | |
#=========================================================== | |
def encryptString(s, key): | |
''' Encrypts string s using the provided key. Returns the encrypted string. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#=========================================================== | |
#title :caesar.py | |
#description :This will decrypt a caesar file. | |
#authors :Kenneth Brenner, Christopher Duarte | |
#date :29OCT2013 | |
#python_version :2.7.5 | |
#=========================================================== | |
# Import modules | |
import string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#=========================================================== | |
#title :square.py | |
#description :This function will print a square | |
#authors :Christopher Duarte | |
#date :06DEC2013 | |
#python_version :2.7.5 | |
#=========================================================== | |
def square(): | |
a = raw_input("Enter size:") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#=========================================================== | |
#title :currencyConverter.py | |
#description :This function will convert currency. | |
#authors :Christopher Duarte | |
#date :06DEC2013 | |
#python_version :2.7.5 | |
#=========================================================== | |
def currency_converter(): | |
a = raw_input("Enter USD amount:") |
OlderNewer