#!/usr/local/bin/python2 class C(): import cgi cgi.a = 1 print C.cgi.a