Skip to content
Advertisement

Tag: otree

Python: Construct class (and variable names) through a function?

I recently started to work with Python’s classes, since I need to work with it through the use of OTree, a Python framework used for online experiment. In one file, I define the pages that I want to be created, using classes. So essentially, in the OTree system, each class corresponds to a new page. The thing is, all pages

Advertisement