User Tools

Site Tools


module:python:checkrunarguments:checkrunarguments

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
module:python:checkrunarguments:checkrunarguments [2021/12/11 10:28] – [Grundlagen] omdevelopmodule:python:checkrunarguments:checkrunarguments [2022/09/13 11:58] (current) – external edit 127.0.0.1
Line 8: Line 8:
 ] ]
  
-===== Grundlagen =====+===== Grundlage ===== 
 +Aufruf von Python-Scripts über 
 +  * Spyder 
 +  * Terminal 
 +mit Übergabe-Parametern/Argumenten 
 + 
 +===== Benutzung ===== 
 +ProgramCode in Python:
 <code python> <code python>
 # #
Line 36: Line 43:
 Aufruf in Spyder:  Aufruf in Spyder: 
 **Strg + F6, RunConfiguration, CommandLine: parameter0 parameter1 parameter2** **Strg + F6, RunConfiguration, CommandLine: parameter0 parameter1 parameter2**
 +{{:Module:Python:CheckRunArguments:2112111013_StrgF6RunConfiguration.png?500|2112111013_StrgF6RunConfiguration.png }}
 <code python> <code python>
-runfile('C:/Downloads/python/CheckRunArguments.py', args='parameter0 parameter1 parameter2', wdir='C:/Downloads/python')+runfile('C:/Downloads/python/CheckRunArguments.py',  
 +args='parameter0 parameter1 parameter2', wdir='C:/Downloads/python')
 *** CheckRunArguments: begin *** CheckRunArguments: begin
 ['C:\\Downloads\\python\\CheckRunArguments.py', 'parameter0', 'parameter1', 'parameter2'] ['C:\\Downloads\\python\\CheckRunArguments.py', 'parameter0', 'parameter1', 'parameter2']
 *** CheckRunArguments: end *** CheckRunArguments: end
 </code> </code>
- 
  
 Aufruf in Terminal:     Aufruf in Terminal:    
Line 52: Line 60:
 *** CheckRunArguments: end *** CheckRunArguments: end
 </code> </code>
-===== Benutzung ===== 
  
 ===== Versionen ===== ===== Versionen =====
 +{{:Module:Python:CheckRunArguments:2112111018_CheckRunArguments_01V01.zip|2112111018_CheckRunArguments_01V01.zip}}
 ----- -----
  
module/python/checkrunarguments/checkrunarguments.1639214895.txt.gz · Last modified: 2021/12/11 11:28 (external edit)