diff --git a/README.md b/README.md index 1da2f21..679df34 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # runbooks -Sample Automation runbooks +Sample Automation runbooks. diff --git a/Utility/Python/import_py3package_from_pypi.py b/Utility/Python/import_py3package_from_pypi.py index 2118f92..7771fd9 100644 --- a/Utility/Python/import_py3package_from_pypi.py +++ b/Utility/Python/import_py3package_from_pypi.py @@ -16,6 +16,14 @@ 2020-12-29 AutomationTeam: -Import Python 3 package with dependencies """ + +import subprocess +import sys + +# Install requests module +subprocess.check_call([sys.executable, '-m', 'pip', 'install', 'requests']) + + import requests import subprocess import json