Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Help:LimeSurvey/Demo Psychopy
(view source)
Revision as of 15:07, 1 February 2015
4 bytes removed
,
15:07, 1 February 2015
no edit summary
Line 3:
Line 3:
Make sure your survey has a token table which contains the participant ID's:
Make sure your survey has a token table which contains the participant ID's:
−
[[File:
Token
.png
|thumbnail
]]
+
[[File:
token
.png]]
−
+
<nowiki>
−
−
−
<nowiki>
participantID = 2
participantID = 2
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)
Line 15:
Line 12:
os.system("chrome.exe "+url)
os.system("chrome.exe "+url)
else:
else:
−
# this
always
selects the default browser
+
# this selects the default browser
in most Unices
os.system("xdg-open "+url)
os.system("xdg-open "+url)
</nowiki>
</nowiki>
Wilbert.vanham
Administrators
414
edits
Navigation menu
Personal tools
Log in
Namespaces
Help page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Help
About
About the TSG
About this Wiki
FAQ
Disclaimer
Survey
Customer Survey
Tools
Special pages
Printable version