Skip to content

Instantly share code, notes, and snippets.

View dexpota's full-sized avatar
🎯
Focusing

Fabrizio Destro dexpota

🎯
Focusing
View GitHub Profile
@dexpota
dexpota / python.json
Last active December 10, 2016 23:35
schema.json update.
{
"type": "object",
"properties": {
"lines": {
"type": "number"
},
"modules": {
"type": "array",
"items": {
"type": "string"
@dexpota
dexpota / example.py
Last active August 2, 2018 15:38
Exception handling using a decorator
from exception_handling import exceptions
from random import randint
def dummy_handler(e):
print("Exception handling ...")
return True
def else_handler():