I am running Python on Debian 7 Wheezy. I am having challenges with
psycopg2 on python 3.2. However, it is working well on python 2.7.  When I
do import psycopg2 on Python 2.7, the system will not complain.  However,
it screams on the Python3.2 prompt, it gives
>>>  import psycopg2
  File "<stdin>", line 1
    import psycopg2
    ^
IndentationError: unexpected indent

I am new to Python and wants to work with Python 3

Any pointers will be greatly appreciated.

Kind regards,

Admire
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to