Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

python-mode in emacs

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
_Max_
Apprentice
Apprentice
Posts: 264
Joined: Mon Mar 03, 2003 3:48 pm
Location: London, UK

python-mode in emacs

  • Quote

Post by _Max_ » Wed Oct 05, 2005 10:57 am

Hi,

I thought it might be a good idea to have interactive python sessions inside Emacs, and thought that python-mode would do it. I installed python mode.

Now when I type M-x python, it says: "Using the CPython shell", but nothing happens. I thought this would start up the python interpreter inside emacs? How do I debug this?

Is there some initialisation that I need to do other than

(load "/usr/share/emacs/site-lisp/site-gentoo.el")

Thanks,

_Max_
Ceci n'est pas une sig.
Top
ekutay
l33t
l33t
Posts: 636
Joined: Wed Mar 30, 2005 9:24 am
Location: Berlin

  • Quote

Post by ekutay » Thu Oct 06, 2005 1:38 am

Try M-x py-shell
-- erol
Top
_Max_
Apprentice
Apprentice
Posts: 264
Joined: Mon Mar 03, 2003 3:48 pm
Location: London, UK

  • Quote

Post by _Max_ » Thu Oct 06, 2005 7:44 am

Ahhh.... :oops:

Thanks.
Ceci n'est pas une sig.
Top
ekutay
l33t
l33t
Posts: 636
Joined: Wed Mar 30, 2005 9:24 am
Location: Berlin

  • Quote

Post by ekutay » Thu Oct 06, 2005 12:51 pm

C-c ! does it too. You may also execute regions, evaluate statements and expressions and so on.

In python-mode type C-h m for complete description of the mode.
-- erol
Top
Post Reply

4 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic