# Working with Python

{% hint style="info" %}
This page was generated from content adapted from the [AWS Developer Guide](https://github.com/awsdocs/aws-xray-developer-guide.git)
{% endhint %}

## X-Ray SDK for Python

* **Note**\
  The X-Ray SDK for Python is an open source project. You can follow the project and submit issues and pull requests on GitHub: [github.com/aws/aws-xray-sdk-python](https://github.com/aws/aws-xray-sdk-python)
* **Note**\
  On Lambda, the X-Ray SDK is optional. If you don't use it in your function, your service map will still include a node for the Lambda service, and one for each Lambda function. By adding the SDK, you can instrument your function code to add subsegments to the function segment recorded by Lambda. See [AWS Lambda and AWS X-Ray](https://github.com/kevinslin/aws-reference-notes/blob/main/services/aws_x_ray/xray-services-lambda.md) for more information.
