This may be a basic question but is there any difference in these two:
First:
cd /dir/
python run.py
Second:
python /dir/run.py
It seems previously executing them in these different ways seemed to cause different results, but it may be down to another factor.