Python/Legacy: Difference between revisions

Jump to navigation Jump to search
Created page with "This page contains documentation for older, obsolete versions of Python. For info on the latest version, visit Python =Python 2.7= ==Installation== ===Windows (32 bit)=..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 125: Line 125:
* '''C:\Windows\System32''' or  
* '''C:\Windows\System32''' or  
* '''C:\Windows\SysWOW64'''
* '''C:\Windows\SysWOW64'''
== 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==
*[[Psychopy]]
*[[Workshop: Python for social scientists]]
<!--
*[[Workshop: Python for behavioural scientists]]
==References==
<references /> -->
==External Links==
*{{Official website|http://www.python.org}}