Skip to content

Instantly share code, notes, and snippets.

@jasongorman
Created April 6, 2019 10:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasongorman/6f9cabf17e16d248762cbf03ce1254c8 to your computer and use it in GitHub Desktop.
Save jasongorman/6f9cabf17e16d248762cbf03ce1254c8 to your computer and use it in GitHub Desktop.
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