amazon web services - Python Env Variables -


inside lambda function folder have folder called python_modules contains modules. there anyway include modules through environment variable? tried using: sys.path.insert(0,'./python_modules') did successful job of including modules. should note working directory var/task. (sys.path.insert(0,'/var/task/python_modules')

my attempt add existing environment variable $pythonpath (as system) key "/var/task/python_modules". has unfortunately not resulted in correct output. else have suggestion?


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -