/timm's /charming /python /tricks
Download
copyleft.py.
Read more on How to be Charming (in Python).
01: import sys 02: sys.dont_write_bytecode=True # don't make .pyc files 03: 04: def copyleft(who='tim@menzies.us', when=2014, rate=0): print """ 05: Charming Python: taming multi-objective search, with Python. 06: Copyright (C) %(when)s %(who)s, GLPL3.0. 07: ___ 08: ,'._,`. 09: (-.___.-) 10: (-.___.-) 11: `-.___.-' 12: (( @ @| . __ 13: \ ` | ,\ |`. @| | | _.-._ 14: __`.`=-=mm===mm:: | | |`. | | | ,'=` '=`. 15: ( `-'|:/ /:/ `/ @| | | |, @| @| /---)W(---\ 16: \ \ / / / / @| | ' (----| |----) ,~ 17: |\ \ / /| / / @| \---| |---/ | 18: | \ V /||/ / `.-| |-,' | 19: | `-' |V / \| |/ @' 20: | , |-' __| |__ 21: | .;: _,-. ,--""..| |..""--. 22: ;;:::' " ) (`--::__|_|__::--') 23: ,-" _, / \`--...___...--'/ 24: ( -:--'/ / /`--...___...--'\ 25: "-._ `"'._/ /`---...___...---'\ 26: "-._ "---. (`---....___....---') 27: .' ",._ ,' ) |`---....___....---'| 28: /`._| `| | (`---....___....---') 29: ( \ | / \`---...___...---'/ 30: `. `, ^"" `:--...___...--;' 31: `.,' hh `-._______.-' 32: 33: This program is free software: you can redistribute it and/or modify 34: it under the terms of the GNU Lesserl Public License as published by 35: the Free Software Foundation, either version 3 of the License, or 36: (at your option) any later version. 37: 38: This program is distributed in the hope that it will be useful, 39: but WITHOUT ANY WARRANTY; without even the implied warranty of 40: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 41: GNU General Public License for more details. 42: 43: You should have received a copy of the GNU Lesser Public License 44: along with this program. If not, see <http://www.gnu.org/licenses/>. 45: 46: For customization services, contact the author 47: whose rates are $%(rate)g per hour. 48: """ % {'when': when,'who':who,'rate':rate} 49: 50:
This file is part of Timm's charming Python tricks.
© 2014, Tim Menzies:
tim.menzies@gmail.com,
http://menzies.us.
Timm's charming Python tricks are free software: you can redistribute it and/or modify it under the terms of the GNU Lesser Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Timm's charming Python tricks are distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU Lesser Public License along with Foobar. If not, see http://www.gnu.org/licenses.