[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: python novice
From: |
Adam |
Subject: |
Re: python novice |
Date: |
Wed, 07 Sep 2005 12:29:01 -0400 |
User-agent: |
KNode/0.7.6 |
Well, I removed;
#!/usr/bin/env python
from the 1st line of my test.py buffer,
and the C-c C-c now works fine. Py program
runs and terminates normally.
Which prompts me to ask - what do Python
users do in Emacs so that that 1st line,
necessary for an executable Python file,
is transparent when running the file
from Emacs ? I suppose run it from
an Emacs shell only ?
Thinking further, the executable will
require chmod before it can be run. This
suggests running within Emacs is one thing,
(without that #!/... header), and writing
a file and chmod to execute is another.
We seem to be up and running, but any helpful
pointers or comments welcome.
> Debugger entered--Lisp error: (wrong-type-argument sequencep cpython)
> py-execute-region(1 278 nil)
> py-execute-buffer(nil)
> * call-interactively(py-execute-buffer)
>
- python novice, Adam, 2005/09/06
- Re: python novice, Kevin Rodgers, 2005/09/06
- Message not available
- Re: python novice, Adam, 2005/09/06
- Re: python novice,
Adam <=
- Re: python novice, Tim Johnson, 2005/09/07
- Re: python novice, Tim Johnson, 2005/09/07
- Message not available
- Re: python novice, Adam, 2005/09/08
- Re: python novice, Tim Johnson, 2005/09/08
- Message not available
- Re: python novice, Adam, 2005/09/08
- Re: python novice, Kevin Rodgers, 2005/09/07