setting path at unix/linux to add the python directory to the path for particular session in unix in the csh shell type setenv path "$path:/usr/local/bin/pythonand press enter in the bash shell (linuxath="$path:/usr/local/bin/pythonand press enter in the sh or ksh shell type path="$path:/usr/local/bin/pythonand press enter type export note /usr/local/bin/python is the path of the python directory setting path at windows to add the python directory to the path for particular session in windows at the command prompt type path %path%; :\python and press enter note :\python is the path of the python directory running python let us now see the different ways to run python the ways are described belowinteractive interpreter we can start python from unixdosor any other system that provides you commandline interpreter or shell window enter python at the command line start coding right away in the interactive interpreter $python unix/linux or pythonunix/linux or :python windows/dos here is the list of all the available command line options no option description - it provides debug output