# Customize a Python sample application

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

The [Camera encoding](https://docs.qualcomm.com/doc/80-80022-55/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.

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.py
        Copy to clipboard

Last Published: May 17, 2026

[Previous Topic
Daisy chain detection and pose detection using Python](https://docs.qualcomm.com/bundle/publicresource/80-80022-55/topics/daisy-chain-detection-and-pose-detection-using-python.md)