Advertisement
Joze

Untitled

Jan 16th, 2012
374
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. #!/usr/bin/env python
  2. # -*- coding: iso-8859-15 -*-
  3. from database import *
  4.  
  5. db = DATABASE()
  6.  
  7.  
  8. result = db.executeProcedure('test_add_item',[ 'marramiau_ssx', 'z' ])
  9.  
  10. if result:
  11.     print db.getLastExecutionResult()
  12. else:
  13.     print db.getLastError()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement