Alan Gauld <alan.ga...@btinternet.com> Wrote in message: > On 11/03/14 18:39, Al Bull wrote: > > > >> I am using Python 3.3. I did some google searches and found something >> called dbfpy to read dbase, so I downloaded and installed it. >> >> File "C:\Python33\lib\site-packages\dbfpy\dbf.py", line 260 >> print repr(_rec) >> ^ >> SyntaxError: invalid syntax > > You are using Python 3.3 so print is a function. > You need to use > > print( repr(_rec) ) > >> My assumption is that this module is written for an earlier release of >> Python? > > That may be true too, but your problem is in the print line.
Which is in the dbfpy code. -- DaveA _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor