title: Is it possible to create a list of variables that also have their own sublists?
body: <p>I'm creating a item system for a program I'm coding and I'm simply wondering if this is possible. Currently I've been thinking of having a file with each variable in it and from there using this :</p>
  
  <pre class="lang-py prettyprint-override"><code>ITEMNAME = [name,definition,etc,etc]
  </code></pre>
  
  <p>Currently I'm stuck at checking for a specific part of this item through a list.
  Supposedly I wonder if I some how manage to figure out how I would pull the variable from the other list I could simply do this :</p>
  
  <pre class="lang-py prettyprint-override"><code># insert method of importing variables from another file above here
  print(ITEMNAME(2))
  </code></pre>
  
  <p>And from there having it print it or do whatever I'd like to do with it. At the same time. If a variable is added to a list in the main file like so :</p>
  
  <pre class="lang-py prettyprint-override"><code>LIST = (apples, oranges, the answer to the universe, ITEMNAME)
  </code></pre>
  
  <p>If it would be possible to go into list and pick out ITEMNAME and check for the definition of ITEMNAME.</p>
  
  <p>Simply... There's alot I'm wondering about if it's even remotely possible to do most of these things. The code doesn't have to be simple. Just wondering if its a possibility.</p>