## Improvements 1. Use *wrapper functions* instead of declaring `global test` in every function 1. Replace `sys.argv` with `os.getenv()` 1. Rename function and variable names to *snake_case* according to [*PEP8*](https://peps.python.org/pep-0008/) guidelines 1. Change image naming convention from *prefix* to *postfix* 1. Rename the variable name `path` to `paths` to better represent its contents 1. Change `FindExist()` to return `True`/`False` instead of `y`/`n` 1. Keep the nested data structure `params` as a whole instead of separating into `coordinates` and `paths` 1. Use *(data)class* or *closure* to resolve issues related to global variables
Improvements
global testin every functionsys.argvwithos.getenv()pathtopathsto better represent its contentsFindExist()to returnTrue/Falseinstead ofy/nparamsas a whole instead of separating intocoordinatesandpaths