[Tutor] Dumb question on emacs and python ...
hcohen2
hcohen2 at comcast.net
Sat Dec 27 13:42:40 EST 2003
Marilyn Davis wrote:
>On Sat, 27 Dec 2003, hcohen2 wrote:
>
>
>
>>I have had a considerable amount of problems trying to get a python
>>script to execute.
>>
>>In this instance, I essentially copied the file from a disc to a newly
>>named file for my editing. Nothing has worked, then I noticed the
>>reserved words were not color coded or highlighted.
>>
>>
>
>What is the name of the file? It needs to be something.py for emacs
>to know what to do.
>
>
>
>>The files have exactly the same attributes read and execute for owner,
>>group and public.
>>
>>What have I encountered, or what stupid thing am I doing?
>>
>>I am running under Mandrake Linux 9.1 and using Python ver.: 2.2.2
>>
>>TIA
>>
>>PS While bash under Linux is in many respects easier to use than the
>>Kohn shell on UNIX, I am finding that actions I perform on emacs on UNIX
>>do not work on Linux, e.g. typing into a hightlighted (selected) region
>>does not delete that region under Linux.
>>
>>
>
>I don't know about this. I use key-stroke-driven emacs.
>
>Good luck.
>
>Marilyn Davis
>
>
>
>
>>
>>_______________________________________________
>>Tutor maillist - Tutor at python.org
>>http://mail.python.org/mailman/listinfo/tutor
>>
>>
>>
>
>
>
Marilyn,
Just added a few more characters to the file name: was fgrepwc.py* to
fgrepwc_allcnt.py*.
It is code from a Python book: Core Python Programming. When I edit I
give myself write rights to the file. The function of the file is
simple: count the total number of lines containing the text you are
seaching for. That is, really independent of emacs.
Thanks
More information about the Tutor
mailing list