Steven D'Aprano added the comment:
This is for reporting bugs in the Python interpreter and standard library, not
for asking for help with bugs in your own code.
The code you show contains a syntax error (some of the indentation is wrong)
and at least one undefined variable, "new". The trace
Sameer Joshi added the comment:
I have defined 2 variables , 1 for Friday and other for rest of weekdays.
However when I match these two with the website date(which is 'today - 3' for
Monday and 'today -1' )it shows the error as variable not defined. Below is
code for the same.
import datet
New submission from Sameer Joshi :
I have defined 2 variables , 1 for Friday and other for rest of weekdays.
However when I match these two with the website date(which is 'today - 3' for
Monday and 'today -1' )it shows the error as variable not defined. Below is
code for the same.
import dat