[Tutor] Thanks for your review

Jonathan Wilson jlocklee at sfsu.edu
Mon Mar 25 15:59:20 EDT 2024


Hello. I am getting an error in the beginning of my python script and it is referring to this line:

newDBFileName = today.strftime(.format(today.month, today.day)) + '  '
                                   ^
SyntaxError: invalid syntax

Can someone tell me what the invalid syntax is here for this line? Appreciate any help you can give. (new python coder)

The arrow is pointing to the .ahead of the format.

Best,

Jonathan


More information about the Tutor mailing list