from otree.api import * doc = """ This application provides a webpage instructing participants how to get paid. Examples are given for the lab and Amazon Mechanical Turk (AMT). """ class C(BaseConstants): NAME_IN_URL = 'payment_info' PLAYERS_PER_GROUP = None NUM_ROUNDS = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): pass # FUNCTIONS # PAGES class PaymentInfo(Page): # print(Player.participant["payoff"]) # if Player.participant["payoff"] >0: # print(Player.participant["final_payoff"]) pass page_sequence = [PaymentInfo]