Skip to content

Instantly share code, notes, and snippets.

@linzino7
linzino7 / APS_TypeError_fix_byargs.py
Created December 27, 2017 05:57
Python APScheduler:TypeError: func must be a callable or a textual reference to one . Fix by args.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Dec 26 16:18:35 2017
@author: zino
"""
@linzino7
linzino7 / APS_TypeError.py
Created December 27, 2017 05:53
Python APScheduler:TypeError: func must be a callable or a textual reference to one
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Dec 26 16:18:35 2017
@author: zino
"""
from datetime import datetime
import time
@linzino7
linzino7 / PythonDecorator.py
Created September 25, 2017 14:42
Python Decorator Pattern Example
# -*- coding: utf-8 -*-
"""
Created on Mon Sep 25 21:57:40 2017
@author: linzino
"""
#python Decorator Pattern
def print_my_name(name):
# -*- coding: utf-8 -*-
"""
Created on Mon Mar 13 17:13:17 2017
@author: goingcosme20
"""
import sys
import json