Wednesday, March 19, 2014

running a python program from a linux command line

The shittiest part of all python programming books and documents is they do not show you the basic on how to run a simple program .

headfirst says program window for each run and choose Run module from the menu. ?>> wtf

Google search is no help for beginners

So dumb me finally figured it out

open the terminal
x@x ~ $ [type ls to see where you are]
then you need to go to the folder where your code is stored

x@x ~ $ cd Desktop
x@x ~ $ cd pythonfolder
x@x ~ $ here you type
x@x ~ $ python
and it will run

No comments:

Post a Comment