You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
631 B

4 years ago
  1. #!/home/alpcentaur/ProjektA/PrototypeWebApp/venv/bin/python3.5
  2. #
  3. # Author: Mike McKerns (mmckerns @caltech and @uqfoundation)
  4. # Copyright (c) 2008-2016 California Institute of Technology.
  5. # Copyright (c) 2016-2018 The Uncertainty Quantification Foundation.
  6. # License: 3-clause BSD. The full license text is available at:
  7. # - https://github.com/uqfoundation/dill/blob/master/LICENSE
  8. """
  9. unpickle the contents of a pickled object file
  10. Examples::
  11. $ undill hello.pkl
  12. ['hello', 'world']
  13. """
  14. if __name__ == '__main__':
  15. import sys
  16. import dill
  17. for file in sys.argv[1:]:
  18. print (dill.load(open(file,'rb')))