Guest User

Untitled

a guest
Jul 19th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. cncfanatics@tuxtop ~ $ cd workspace/pyfa/src
  2. cncfanatics@tuxtop ~/workspace/pyfa/src $ python
  3. Python 2.6.2 (r262:71600, Nov 10 2009, 06:15:33)
  4. [GCC 4.3.4] on linux2
  5. Type "help", "copyright", "credits" or "license" for more information.
  6. >>> from model import *
  7. >>> sql.connect("sqlite")
  8. >>> item.getItem(name="Standard L").name
  9. u'Standard L'
  10. >>> item.getItem(name="Standard L").group.category
  11. <model.category.category object at 0x2721150>
  12. >>> item.getItem(name="Standard L").group.category.name
  13. u'Charge'
  14. >>>
Add Comment
Please, Sign In to add comment