A
A
Albert2015-05-30 21:04:58
Python
Albert, 2015-05-30 21:04:58

Is it possible to use text as part of the code in python?

For example, the table cells contain simple program codes, such as A1 = print('Hello World') and so on. Is there any way to use the contents of cell A1 (i.e. print('Hello World')) as part of the code?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri Shikanov, 2015-05-30
@bigburn

eval function

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question