Changes

Jump to navigation Jump to search
364 bytes added ,  19:01, 21 January 2021
no edit summary
Line 45: Line 45:  
   
 
   
 
When your script fails to load in Psychopy, because you need packages that are not installed on our lab computers, please contact TSG.
 
When your script fails to load in Psychopy, because you need packages that are not installed on our lab computers, please contact TSG.
 +
 +
== Usage ==
 +
 +
===Example: TestArgs.py===
 +
Execute the following script within the commandline (CMD): <code style="background-color:#000; color:#fff; padding:1px 3px;">python testArgs.py a.</code><br/>
 +
You should see the following result:
 +
 +
<syntaxhighlight lang="matlab" overflow:auto;">
 +
number of argument:  2
 +
argv[0]: ./testArgs.py
 +
argv[1]: a
 +
</syntaxhighlight>
    
==See Also==
 
==See Also==

Navigation menu