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/python3 | |
# -*- coding: utf-8 -*- | |
""" Feiertage, die nicht auf ein Wochenende fallen → Bankfeiertage """ | |
import calendar | |
import datetime | |
import locale | |
locale.setlocale(locale.LC_ALL, 'de_DE.UTF-8') |
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
import time | |
import psutil | |
from pywinauto import Application | |
class GTAProcess: | |
PROCESS_NAME: str = 'GTA5.exe' | |
def __init__(self): |
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 python3 | |
import math | |
class BaseFormatter(object): | |
""" | |
Provides a generic formatting class. | |
Just inherit from it, define your units, | |
and then use pretty_format with any number. | |
""" |
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 | |
"""a very small learning project to have a snowing screensaver.""" | |
import random | |
import pygame.gfxdraw | |
class Snowflake: | |
"""Representation of a single snowflake.""" |
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/python | |
# -*- coding: utf-8 -*- | |
import sys | |
import os | |
import stat | |
import argparse | |
import hashlib | |
parser = argparse.ArgumentParser(description='list files with file bits') |