Difference between revisions of "Python -c"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
  
  [[python]] -c '[[import]] your_function; print your_function.hello()'
+
  [[python]] -c '[[import (Python)|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)

Revision as of 18:00, 11 April 2022

Advertising: