Python/Legacy: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
 
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>