Skip to content

Instantly share code, notes, and snippets.

@Endogen
Endogen / pretty_print_update.py
Last active August 4, 2024 10:41
Pretty-Print Python-Telegram-Bot `update` Object
from pprint import pprint
pprint(update.to_dict())
@aortbals
aortbals / dispatch.py
Last active October 20, 2023 16:09
Synchronize two folders using python.
#! /usr/bin/python
# Dispatch - synchronize two folders
import os
import filecmp
import shutil
from stat import *
class Dispatch:
''' This class represents a synchronization object '''