Can this be easily done in Python?

Paul Rubin no.email at nospam.invalid
Tue Sep 27 16:45:05 EDT 2016


TUA <kai.peters at gmail.com> writes:
> TransactionTerms = <some Python code here>
> that sets the variable TransactionTerms to its own name as string

It's conceivably possible using messy introspection hackery, but if
you're asking that question you don't want to think about doing it that
way.  If you describe the actual goal (application) you might get more
usable suggestions.



More information about the Python-list mailing list