sqlanywhere / sqlanydb

Python driver for SAP Sybase SQL Anywhere
Other
43 stars 20 forks source link

Python 3 - Easy to fix Typo in README #20

Closed alejandrovelez7 closed 6 years ago

alejandrovelez7 commented 6 years ago

In python 3 print became a function instead of statement, if you execute the test_sqlany.py example you get a compilation error ->

image

If you just add a parenthesis to the example in this line then it compiles in python 3

print("SQL Anywhere says: %s" % curs.fetchone())

Want me to change it? Or add a note?

gperrow-SAP commented 6 years ago

I am fixing this now. Thanks for reporting it

gperrow-SAP commented 6 years ago

Fixed with version 1.0.10