Help:LimeSurvey/Demo Psychopy: Difference between revisions
Jump to navigation
Jump to search
| Line 9: | Line 9: | ||
url = "https://survey.socsci.ru.nl/index.php/survey/index/sid/459278/newtest/Y/lang/en?token={:d}".format(participantID) | url = "https://survey.socsci.ru.nl/index.php/survey/index/sid/459278/newtest/Y/lang/en?token={:d}".format(participantID) | ||
import os | import os | ||
if sys.platform == 'win32': | if sys.platform == 'win32': | ||
# | # open url with default browser | ||
os.system(" | os.system("start "+url) | ||
else: | else: | ||
# this selects the default browser in most Unices | # this selects the default browser in most Unices | ||