Advertisement
Joze

Untitled

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