Name: Anonymous 2013-11-20 5:29
import sys
class NewObjectMaker(object):
def __init__(this, cls, *args, **kw):
this.cls = cls;
this.args = args;
this.kw = kw;
def delete (this):
del this.cls;
del this.args;
del this.kw;
del this;
def makeNewObjectInstance(this):
return this.cls(*this.args, **this.kw);
def main():
global sys
global newObjectMaker
newObjectMaker = NewObjectMaker(str, 'Hello Agile Enterprise Scalable Big Data World!');
helloWorld = newObjectMaker.makeNewObjectInstance();
newObjectMaker.delete();
i = 0;
while 1 :
helloWorldLength = len(helloWorld)
char = helloWorld[i];
sys.stdout.write(char);
if i >= helloWorldLength - 1:
break;
else :
i += 1;
continue;
del i
del helloWorldLength
del char
del helloWorld
if __name__ == '__main__':
main();
class NewObjectMaker(object):
def __init__(this, cls, *args, **kw):
this.cls = cls;
this.args = args;
this.kw = kw;
def delete (this):
del this.cls;
del this.args;
del this.kw;
del this;
def makeNewObjectInstance(this):
return this.cls(*this.args, **this.kw);
def main():
global sys
global newObjectMaker
newObjectMaker = NewObjectMaker(str, 'Hello Agile Enterprise Scalable Big Data World!');
helloWorld = newObjectMaker.makeNewObjectInstance();
newObjectMaker.delete();
i = 0;
while 1 :
helloWorldLength = len(helloWorld)
char = helloWorld[i];
sys.stdout.write(char);
if i >= helloWorldLength - 1:
break;
else :
i += 1;
continue;
del i
del helloWorldLength
del char
del helloWorld
if __name__ == '__main__':
main();