Classes_are_modules

Run Settings
LanguagePython
Language Version
Run Command
# coding:utf-8 from foo import Cls a = Cls(42) print a.a
# coding: utf-8 class Cls(object): print """ Classes are Modules. Code between the definition of functions gets executed when the class is imoprted """ def __init__(self, a): print '__init__ is called' self.a = a
Editor Settings
Theme
Key bindings
Full width
Lines