Difference between revisions of "Python -c"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
 
  [[python]] -c 'import your_function; print your_function.hello()'
 
  [[python]] -c 'import your_function; print your_function.hello()'
  
  -c cmd : program passed in as string (terminates option list)
+
  -c [[cmd]] : program passed in as string (terminates option list)
  
 
== See also ==
 
== See also ==

Revision as of 18:00, 11 April 2022

Advertising: