1,760
edits
Changes
→Script structure and sample template
<pre>
#!/usr/sbin/env python3
''' docstring
'''
import ...
def dbda(date,days):
...
setup loop:
call after() or before() as appropriate
return target_day
.. call dbda()
...
.. output the expected dateresult
</pre>