Skip to content

Instantly share code, notes, and snippets.

View hyzyla's full-sized avatar

Yevhenii Hyzyla hyzyla

View GitHub Profile
import gzip
import re
import shutil
import sqlite3
import xml.etree.ElementTree as ET
integer = re.compile(r'^[-+]?[0-9]+$')
real = re.compile(r'^[-+]?[0-9]+\.[0-9]*$')
sanitize = re.compile('[^0-9a-zA-Z_]+')