> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# What happens if I edit my Python files while a sweep is running?

The behavior depends on which file you edit. While a sweep is running:

* If the `train.py` script that the sweep uses changes, the sweep continues to use the original `train.py`.
* If files that the `train.py` script references change, such as helper functions in the `helper.py` script, the sweep uses the updated `helper.py`.

***

<Badge stroke shape="pill" color="orange" size="md">[Sweeps](/support/models/tags/sweeps)</Badge>
