TAEG is the Taux Annuel Effectif Global
, it is the cost of money for a year with the current fees on the loan.
From an amortization table, you can compute it like that:
+------------+--------------+
# -*- coding: utf-8 -*- | |
import json | |
import sys | |
from ConfigParser import (ConfigParser, MissingSectionHeaderError, | |
ParsingError, DEFAULTSECT) | |
class StrictConfigParser(ConfigParser): | |
def _read(self, fp, fpname): |
import asyncio.subprocess | |
@asyncio.coroutine | |
def demo(): | |
proc = yield from asyncio.create_subprocess_exec('ls', '-1', stdout=asyncio.subprocess.PIPE) | |
while True: | |
line = yield from proc.stdout.readline() | |
if not line: | |
break | |
print(line) |
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
import json | |
import redis | |
r = redis.StrictRedis(host='localhost', port=6379, db=1) | |
# List of permissions that gives us this permission | |
PERMISSIONS_INHERITANCE = { | |
'bucket:write': { |
lettre_morse = { | |
"a": ".-", | |
"b": "-...", | |
"c": "-.-.", | |
"d": "-..", | |
"e": ".", | |
"f": "..-.", | |
"g": "--.", | |
"h": "....", | |
"i": "..", |
from functools import partial | |
RULES = { | |
'six_h': {'high': 390, 'low': 330}, | |
'twelve_h': {'high': 750, 'low': 690}, | |
'twentyfour_h': {'high': 1490, 'low': 1410}, | |
'seven_d': {'high': 169, 'low': 168} | |
} | |
# -*- coding: utf-8 -*- | |
import locale | |
import re | |
from flask import Flask, redirect, request | |
app = Flask(__name__) | |
LANGUAGE_CODES = ('fr', 'en', 'zh') | |
DOMAIN_NAME = 'example.com' |
# Voir https://docs.djangoproject.com/fr/3.0/ref/signals/#m2m-changed pour plus d'infos | |
@receiver(m2m_changed, sender = VisiteMedicale.animaux.through) | |
def visite_medicale_save_action(sender, instance, **kwargs): | |
if reverse: | |
# Cas de popi.visite_medicale_set.remove(sterilisation_20200413) | |
animaux = [instance] | |
visite_medicale = model.objects.get(pk__in=pk_set) | |
else: | |
# Cas de sterilisation_20200413.animaux.add(Popi) |
#!/bin/sh | |
# http://www.alfredklomp.com/programming/shrinkpdf | |
# Licensed under the 3-clause BSD license: | |
# | |
# Copyright (c) 2014, Alfred Klomp | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are met: |
module Square exposing (..) | |
import Html exposing (..) | |
import Html.Attributes exposing (..) | |
import Html.Events exposing (..) | |
import Animation exposing (px, percent) | |
import Time exposing (second) | |
import Ease exposing (..) | |