This file contains hidden or 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: latin-1 -*- | |
# | |
# Query the dictionary http://dict.leo.org/ from within Python. | |
# This is based on an equivalent script for German/English by: | |
# | |
# Copyright (C) 2015 Ian Denhardt <[email protected]> | |
# | |
# 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 |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
a | |
à | |
abaissa | |
abaissable | |
abaissables | |
abaissai | |
abaissaient | |
abaissais | |
abaissait | |
abaissâmes |
This file contains hidden or 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 | |
import logging | |
#: Log format which gives you the date/time and the PID of the running process. | |
#: The level name is DEBUG, INFO, WARNING, ERROR or CRITICAL | |
#: This logger format is compatible with PyCharm Ideolog plugin (IntelliJ Platform). | |
LOG_FORMAT = "%(asctime)s [%(process)7d] %(levelname)8s - %(name)-30s - %(message)s" | |
logging.basicConfig(level=logging.DEBUG, format=LOG_FORMAT, filename="sample.log") |
NewerOlder