Runnig Python



3 Diffrent Ways.

 

  1. Enter Python the command line.
  • $python #Unix/Linux

OR

  • python%  #Unix/Linux

OR

  • C:> python #Windows/Dos



Script From Command-Line


  • A Python script can executed at command line by invoking the interpreter on your application.

$python script.py  #Unix/Linux


OR

python% script.py #Unix/Linux

OR

C:> python script.py #Windows/Dos



NOTE:Be sure the file permission mode allows execution

Comments