A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/071888.html below:

Call a function using a variable

Call a function using a variable Call a function using a variableColin Meeks colinmeeks at home.com
Fri Apr 27 15:17:40 EDT 2001
Does anybody know if it's possible to do something along the following lines
:

myfunction="test"
x=myfunction

Basically what I want is when the x variable gets declared it get's it's
data from the function test()
I used to do this all the time in Clipper doing the following

myfunction="test"
x=&myFunction()

Thanks. Colin



More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4