[Tutor] [Fwd: [Fwd: self-modification]]

Zsiros Levente zslevi at sch.bme.hu
Mon Aug 21 17:38:11 CEST 2006

Sorry, the source was for my tkinter question. I'm a bit disorganized 

The problematic part is the 11. line, where I have to convert the item 
selected from the list to an object, or something like that. At the 
moment it only applies to a string object, but I want to call the 
function for the object, represented by the string. (If you run it, it 
will become more obvious what I mean.)

-------- Original Message --------
Subject: 	[Fwd: self-modification]
Date: 	Mon, 21 Aug 2006 16:06:52 +0200
From: 	Zsiros Levente <zslevi at sch.bme.hu>
To: 	python tutor <tutor at python.org>

I forgot the most important thing: the attachment.
-------- Original Message --------
Subject: 	self-modification
Date: 	Mon, 21 Aug 2006 16:04:19 +0200
From: 	Zsiros Levente <zslevi at sch.bme.hu>
To: 	python tutor <tutor at python.org>

I'm a newbie to Python. I wanted to write a graphical interface which 
would show the built-in documentation (I mean dir() and __doc__ ) of 
Python. The code shows how far I got before realizing that I had to use 
some self-modification feature (converting a string to a function or to 
an object; i'm not sure you would call it self-modification in an 
interpreted language).

I was googling around, and searching in the maillist archives and found 
Unanswered for two years. Not too promising :)

P.S.: I'm new to this mailing list, so I don't know whether it is 
allowed to send code as attachment. (I didn't found anything about your 
policy in the subscription site. )  If not, I'm sorry.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: self_doc.py
Type: text/x-python
Size: 678 bytes
Desc: not available
Url : http://mail.python.org/pipermail/tutor/attachments/20060821/771aa619/attachment.py 

More information about the Tutor mailing list