Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cncfanatics@tuxtop ~ $ cd workspace/pyfa/src
- cncfanatics@tuxtop ~/workspace/pyfa/src $ python
- Python 2.6.2 (r262:71600, Nov 10 2009, 06:15:33)
- [GCC 4.3.4] on linux2
- Type "help", "copyright", "credits" or "license" for more information.
- >>> from model import *
- >>> sql.connect("sqlite")
- >>> item.getItem(name="Standard L").name
- u'Standard L'
- >>> item.getItem(name="Standard L").group.category
- <model.category.category object at 0x2721150>
- >>> item.getItem(name="Standard L").group.category.name
- u'Charge'
- >>>
Add Comment
Please, Sign In to add comment