# Customize a Python sample application

Source: [https://docs.qualcomm.com/doc/80-70022-50/topic/customize-a-python-sample-application.html](https://docs.qualcomm.com/doc/80-70022-50/topic/customize-a-python-sample-application.html)

You can develop custom sample applications using the instructions in this
        procedure.

## About this task

The [Camera encoding](https://docs.qualcomm.com/doc/80-70022-50/topic/camera-encode.html) sample application has been used in this
                procedure as an example.

Note: The following steps are applicable for Qualcomm Linux. For
                Ubuntu Server, you can modify the file on the target device.

## Procedure

1. Pull the python application source code from the target device to the host
                    computer.
                
scp root@<IP address of target device>:/usr/bin/gst-camera-encode.py> <destination directory>Copy to clipboard
2. As required, perform your customizations.
3. Push the customized source code to the target device. 
                
scp <filename> root@<IP address of target device>:/<directory>/Copy to clipboard
4. Run the sample application on the target device.
                
For example:

        python3 /<pushed-file-directory>/gst-camera-encode.pyCopy to clipboard

**Parent Topic:** [Run Python-based applications](https://docs.qualcomm.com/doc/80-70022-50/topic/python-sample-applications.html)

Last Published: Feb 20, 2026

[Previous Topic
Daisy chain detection and pose detection using Python](https://docs.qualcomm.com/bundle/publicresource/80-70022-50/topics/daisy-chain-detection-and-pose-detection-using-python.md) [Next Topic
Deploy Qualcomm IM SDK as a container](https://docs.qualcomm.com/bundle/publicresource/80-70022-50/topics/application-deployment-within-container-api-gstd.md)