title: is there a way to get current path of an OBJ that is already loaded inside blender using python?
body: <p>I have imported multiple <strong>OBJs</strong>, but they all share same path. So i was wondering if there is a way to get the path of an obj and save it to a variable, so that i can make the program dynamic/not user input dependant. This is what i got online:</p>
  <pre><code>import bpy
  import os
  
  filepath = bpy.data.filepath
  filepath_split = os.path.split(filepath) #list with [path, name] 
  </code></pre>