Small utility program for the windows

Iyer, Prasad C prasad.c.iyer at
Mon Oct 24 14:06:39 CEST 2005

I am trying to create a small utility program which would be configured
in registry. Something like this
Windows Registry Editor Version 5.00

@="\"python C:\\workspace\\python\\Tut\\\""

It gives me access denied exception when I try it.
Can anyone help me out.
Following is the code

from Tkinter import *
import sys

class BaseClass(Frame):
    def __init__(self, master=None):
        Frame.__init__(self, master)
    def createWidget(self):
        self.text=Text(self, width=20, height=3)
        Button(self, text="ok", command=self.addText).grid(row=1,
    def addText(self):
        print "hello world"

print sys.argv[0]
for i in range(0, len(sys.argv)):
    print sys.argv[i]

I have to modify the code further so that it takes argument.

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.

More information about the Python-list mailing list