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
# -*- coding: utf-8 -*- | |
def pretty(value, ind=' ', eol='\n', level=0): | |
"""Return a pretty representation of an object""" | |
linesuffix = eol + ind * level | |
lineprefix = linesuffix + ind | |
level += 1 | |
if hasattr(value, '__class__') and '__dict__' in dir(value): | |
value = value.__dict__ |
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 python | |
# -*- coding: utf-8 -*- | |
# | |
# Picard, the next-generation MusicBrainz tagger | |
# Copyright (C) 2015 Laurent Monin | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License | |
# as published by the Free Software Foundation; either version 2 | |
# of the License, or (at your option) any later version. |
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
#!/bin/bash | |
# Génère un script qui copie les images source autant de fois que nécessaire, | |
# respectant la structure (ordre des répertoires et des fichiers), | |
# pour créer une vidéo image par image | |
# ensuite convertit les images en vidéo | |
# Note: ce script génére un script | |
# donc faire: | |
# $ . generate.sh > copyall.sh |
NewerOlder