MySQL Forums
Forum List  »  Connector/Python

Re: MySQL Connector/Python: Settings client flags
Posted by: Lalit Shakya
Date: January 17, 2011 12:06AM

>>> import mysql.connector
>>> from mysql.connector.constants import ClientFlag
>>> defaults = ClientFlag.get_default()
>>> print ClientFlag.get_bit_info(defaults)
File "<stdin>", line 1
print ClientFlag.get_bit_info(defaults)
SyntaxError: invalid syntax

it produce error i am using python 3.2

Options: ReplyQuote

Written By
Re: MySQL Connector/Python: Settings client flags
January 17, 2011 12:06AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.