All notable changes to this project will be documented in this file.
- “Why should I care?” section mentioning The Changelog podcast.
| amigos = set() | |
| contacts = dict(adri=['thijn', 'jonas'], | |
| flor=['random1', 'random2'], | |
| gerard=['random1', 'random2'], | |
| rami=['random1', 'random2'], | |
| agustin=['random1', 'random2'], | |
| andrei=['robertito el de c5n', 'random2'], | |
| ) | |
| for member in contacts.keys(): | |
| print('{} sharing {} contacts'.format(member, len(contacts[member]))) |
| g = 'module attribute (module-global variable)' | |
| """This is g's docstring.""" | |
| class AClass: | |
| c = 'class attribute' | |
| """This is AClass.c's docstring.""" | |
| def __init__(self): | |
| """Method __init__'s docstring.""" |
| #!/usr/bin/python | |
| # -*- coding: latin-1 -*- | |
| import os | |
| … | |
| #!/usr/bin/python | |
| # -*- coding: iso-8859–15 -*- | |
| import os | |
| … |
| # Futures | |
| from __future__ import unicode_literals | |
| from __future__ import print_function | |
| # Generic/Built-in | |
| import datetime | |
| import argparse | |
| # Other Libs | |
| import youtube_dl |
| #!interpreter {optional-arg} | |
| readRenviron(“/etc/default/locale”) | |
| LANG <- Sys.getenv(“LANG”) | |
| if(nchar(LANG)) | |
| Sys.setlocale(“LC_ALL”, LANG) | |
| ################################################## |
| #!interpreter [optional-arg] | |
| # -*- coding: utf-8 -*- | |
| """ | |
| {Description} | |
| {License_info} | |
| """ | |
| # Futures | |
| from __future__ import print_function |