Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6202887
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:49:03+00:00 2026-05-24T04:49:03+00:00

I am using the python.el from fgallina python.el github There is a long list

  • 0

I am using the python.el from fgallina python.el github There is a long list of features but I am unaware of how to use them.

EDIT: Found this mode was working, however didn’t automatically open the interpreter went the information was sent there. How can I send/load my current python buffer to be evaluated? I am trying to use C-c C-c but I don’t get any output.

Python shell integration and shell completion? Do I need to add something beside the standard load-path and require statements for this?

Imenu support this isn’t showing for me either.
Edit I tried adding this to my emacs but that hasn’t worked.

add-hook 'python-mode-hook 'imenu-add-menubar-index)

I am using emacs 23 on ubuntu

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T04:49:04+00:00Added an answer on May 24, 2026 at 4:49 am

    For your first question: Usually you can load a buffer/file using C-c C-l. (Just tested this for python.el, and it works for this one as well) This will send the file to the inferior python process — so you should open the *Python* buffer to see the results. The *Python* buffer is also your regular python interpreter/shell/REPL. C-M-x is bound to python-send-defun which sends a method/function definition to the interpreting process. For other bindings just hit M-x describe-bindings and then look for “python-” (under “Major Mode Bindings”) in the opened *Help* buffer window.

    There is some more documentation at the beginning of python.el if you want to know more about completion:

    Quote:

    Shell completion: hitting tab will try to complete the current
    word. Shell completion is implemented in a manner that if you
    change the python-shell-interpreter to any other (for example
    IPython) it should be easy to integrate another way to calculate
    completions. You just need to specify your custom
    python-shell-completion-setup-code and
    python-shell-completion-string-code.

    Quote:

    Symbol completion: you can complete the symbol at point. It uses
    the shell completion in background so you should run
    python-shell-send-buffer from time to time to get better results.

    Skeletons: 6 skeletons are provided for simple inserting of class,
    def, for, if, try and while. These skeletons are integrated with
    dabbrev. If you have dabbrev-mode activated and
    python-skeleton-autoinsert is set to t, then whenever you type
    the name of any of those defined and hit SPC, they will be
    automatically expanded.

    The imenu entry shows up for me without adding the hook, just (require 'python) in a configuration file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just extracted some data from a list using python but think it's overcomplicated
Using python 2.6.5, I can use the with statement without calling from __future__ import
I'm using the following method to send mail from Python using SMTP. Is it
I am calling a WSDL web service from Python using SOAPpy . The call
Using Python, how would I go about reading in (be from a string, file
When reading lines from a text file using python, the end-line character often needs
I'd like to extract the text from an HTML file using Python. I want
What is the best way to sniff network packets using Python? I've heard from
Using Python 2.6, is there a way to check if all the items of
Disclaimer: completely new to Python from a PHP background Ok I'm using Python on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.