Skip to content

Instantly share code, notes, and snippets.

View aleksaa01's full-sized avatar
👋
Hi 😃

Aleksa Avramović aleksaa01

👋
Hi 😃
  • Pancevo. Serbia
View GitHub Profile
@aleksaa01
aleksaa01 / no_boundary_mail_parser.py
Created May 14, 2019 20:10
MailParser without mail boundary
from mailparser.mailparser import MailParser
class NoBoundaryMailParser(MailParser):
@property
def body(self):
return self.text_plain, self.text_html
@aleksaa01
aleksaa01 / avl_tree.py
Last active October 16, 2023 10:08
Python implementation of AVL Tree data structure.
class Node(object):
def __init__(self, data):
self.data = data
self.parent = None
self.height = 0
self.left_child = None
self.right_child = None
class AVLTree(object):