title: Python & Maya : Namespaces
body: <p>I've been searching on google how to deal with namespaces in Maya and all the results are for how to remove them. I don't want to remove them.</p>
  
  <p>I'm referencing my character into the scene, I need to run a script on a specific locator, but they all have namespaces due to being referenced in.</p>
  
  <p>For example: <code>shldr = cmds.xform('L_shldrFK_match_LOC', ws = True, t = True, q = True)</code></p>
  
  <p>That will get the translation value of the locator in worldspace, which is what I want. But it wont be able to find the locator due to the namespace.</p>
  
  <p>How do I make it ignore namespaces in the code, but retain them inside maya?</p>
  
  <p>The other thing that would be nice is for the code to recognize if there are no namespaces (eg the scene wasn't referenced in).</p>