I have a python script (I did not write it), but there are two ways this script can be launched:
1. command line
2. from pressing a button on a custom web app
If I run from the command line, all fine.
If I launch the script from the app, I can see from the logs that python code is executing, but this time it cannot find the module 'MySQLdb'.
Why can this module be found when running from the command line, but not the webapp?
All help really appriciated!