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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -