Update shaderAssignmentExportImport.py

Improved PEP8 compliance, removed unnecessary list slicing, fixed method of searching for "lo" at beginning of string