This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Sunday 05 April, 2015 - Buenos Aires, Argentina | |
Python 3.4 | |
Computes the date for the Gregorian Easter by using | |
Gauss's formula. | |
""" | |
from datetime import date | |
A collection of shell scripts for common repetitive tasks, that might come in handy.
On this gist I would like to point out an aspect of Python that might present some issues if it is not implemented correctly.
Suppose we have a function and we need to define that some of its parameters take an empty list as a default argument. Something like the following, for example, might be a typical implementation:
NewerOlder