How to manipulate a between-subject variable in one experiment procedure?

One way of doing it is to point at different Excel files. For example:

conditions =‘conditions2.xlsx’
if int(expInfo[‘participant’])%2==1:
     conditions =‘conditions1.xldx’