I have a script with several functions in it that use arcpy.ListFeatureClasses(). I'm having trouble pointing each function at the proper workspace. It seems like if I change the workspace inside a function then all the function calls after that use the wrong workspace. But if I set the arcpy.env.workspace inside each function it throws errors saying
''ERROR 000732: Input Table: filename does not exist or is not supported''
How do I point each function at its proper workspace? Images of a couple of the functions are below: