Skip navigation links

MySQL Forums :: Connector/Python :: MySQL Connector/Python: Settings client flags


Advanced Search

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


Subject Written By Posted
MySQL Connector/Python: Settings client flags Edwin DeSouza 01/05/2011 11:55AM
Re: MySQL Connector/Python: Settings client flags Lalit Shakya 01/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.