The .zip file contains your function’s code and any dependencies used to run your function’s code (if applicable) on Lambda. If your function depends only on standard libraries, or AWS SDK libraries, you don’t need to include these libraries in your .zip file.
https://docs.aws.amazon.com/lambda/latest/dg/python-package.html

