Advertisement
Guest User

Untitled

a guest
May 29th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. nico@elcentral:~/workspace/web2py$ python2.5 cailo.py
  2. File "cailo.py", line 3
  3. try:
  4. ^
  5. IndentationError: unexpected indent
  6.  
  7. ========================================================
  8. nico@elcentral:~/workspace/web2py$ cat cailo.py
  9. import psycopg2
  10.  
  11. try:
  12. conn = psycopg2.connect("dbname='yasl' user='nico' host='localhost' password='nico'");
  13. except:
  14. print "I am unable to connect to the database"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement