I found the answer through another Python forum. There isn't a native cast in Python, but there are conversion functions, although not for function. To convert a string into a function, you need to execute it, using the exec function:
s = """
for i in range(val):
print val - i,
countdown(10) # --> 10 9 8 7 6 5 4 3 2 1
Mac OS X Panther (10.3.9), with Python 2.4.2 from ActiveState.
I also have an offline Toshiba notebook (640 x 480) running Windows 98SE with the Unofficial Service Pack, with Python 2.4.2 from ActiveState. The PC is only for testing purposes.
I'm looking for a good Linux Distro for Python testing. Do you know what the most popular Linux Distros are and if they run comfortably on a AMD Mobile K6-2 (475 Mhz) with 192 MB internally, 6 GB harddisk and IDE 16X CD-ROM player?
While I'm writing this, I'm downloading Slax, which seems to run a such an "ancient" PC with relative ease. I have tried another Live-CD, which was miserably slow and actually had quite a high system requirement, almost as high as Windows XP :confused:
I Developed application in C# with crystal reports and created setup file in third party (Advance) Installer.When i installed my application on client system application is working but ...