P
python
Hi-
I need to make a class for quartlerly dates. I need to be able to compare
two quarterly dates and get the number of quarters between them. For
example:
3
The only problem is that I have no idea how to override operators in
python. Can anyone give me a few trivial examples of how it is done?
And, on a completely unrelated note, I am getting a truly amazing amount
of spam today. Anyone else?
Thanks for the help.
I need to make a class for quartlerly dates. I need to be able to compare
two quarterly dates and get the number of quarters between them. For
example:
3
The only problem is that I have no idea how to override operators in
python. Can anyone give me a few trivial examples of how it is done?
And, on a completely unrelated note, I am getting a truly amazing amount
of spam today. Anyone else?
Thanks for the help.