[Tutor] stupid Q

Kalle Svensson kalle at lysator.liu.se
Wed Dec 3 11:26:10 EST 2003


[Az]
> hi all
> i am using python 2.2 on freebsd, the thing is  i dont have GUI and
> use only command line interface, so
> how do i save a file from cli in the python's
> >>>>
>  ?
> i did read the doc at python.org but cant find anywere the answer.
> the only answer i find is how to do that in IDLE

Well, you don't, really.  Edit the file in an editor, e.g. emacs or
vi.  Then test the code by running "python myfile.py" in the shell.
In emacs, you can use python-mode to test the code as well.

Peace,
  Kalle
-- 
Kalle Svensson, http://www.juckapan.org/~kalle/
Student, root and saint in the Church of Emacs.



More information about the Tutor mailing list