Created
April 6, 2019 10:28
-
-
Save jasongorman/6f9cabf17e16d248762cbf03ce1254c8 to your computer and use it in GitHub Desktop.
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
from imdb_api import ImdbAPI | |
from pricer import Pricer | |
from rental import Rental | |
def main(): | |
customer = sys.argv[1] | |
imdbID = sys.argv[2] | |
rental = Rental(customer, imdbID, Pricer(ImdbAPI())) | |
print(rental) | |
if __name__ == "__main__": main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment