class uneclasse(): def __init__(self): pass def something(self): pass xx = uneclasse() xx.something()