CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Wed, 16 Jul 2025 22:57:09 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090625103745
location: https://web.archive.org/web/20090625103745/https://wiki.python.org/moin/EmacsPythonCompletion
server-timing: captures_list;dur=7.474782, exclusion.robots;dur=0.023784, exclusion.robots.policy;dur=0.012409, esindex;dur=0.011619, cdx.remote;dur=8.494969, LoadShardBlock;dur=70.347978, PetaboxLoader3.datanode;dur=56.670707
x-app-server: wwwb-app221
x-ts: 302
x-tr: 113
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app221; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Wed, 16 Jul 2025 22:57:10 GMT
content-type: text/html; charset=utf-8
x-archive-orig-date: Thu, 25 Jun 2009 10:37:45 GMT
x-archive-orig-server: Apache/2.2.9 (Debian) mod_fastcgi/2.4.6 mod_python/3.3.1 Python/2.5.2 mod_wsgi/2.3
x-archive-orig-vary: Cookie,User-Agent,Accept-Language
x-archive-orig-content-length: 10590
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Thu, 25 Jun 2009 10:37:45 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Thu, 09 Feb 2006 03:49:55 GMT", ; rel="prev memento"; datetime="Fri, 22 May 2009 12:47:58 GMT", ; rel="memento"; datetime="Thu, 25 Jun 2009 10:37:45 GMT", ; rel="next memento"; datetime="Wed, 09 Sep 2009 18:03:35 GMT", ; rel="last memento"; datetime="Sat, 20 Jul 2024 22:57:27 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_10_20090625014836_crawl100_IndexOnly-c/51_10_20090625103557_crawl103.arc.gz
server-timing: captures_list;dur=0.524668, exclusion.robots;dur=0.017628, exclusion.robots.policy;dur=0.008628, esindex;dur=0.009371, cdx.remote;dur=39.313247, LoadShardBlock;dur=201.691128, PetaboxLoader3.datanode;dur=150.866259, PetaboxLoader3.resolve;dur=160.392607, load_resource;dur=219.686538
x-app-server: wwwb-app221
x-ts: 200
x-tr: 515
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
EmacsPythonCompletion - PythonInfo Wiki
Python Completion in emacs
- new version 16/10-2003
- now runs on windows, does not need rlcompleter
- significantly simpler
- now got install instructions for auto-load
I whipped up some support for completion of python code when using emacs, which basically completes based on the stuff in scope in the current interactive python session. It's rather crude, but seems to work rather nice for me at least.
Several uses are supported:
- hippie-expand support via try-complete-py-complete-symbol, just like the lisp-version, nice for the [S-tab] hungry.
- minibuffer-complete, pressing [M-return] brings up a minibuffer completion of the expression before point, usefull if you want to get an overview of your options.
- pressing [f1] brings up help on a python symbol before point (just what "help(thingy)") gives
- pressing "(" or [f2] tries to parse the preceeding tokens as a funtion or method, and retrieve the signature via the "inspect" module, and messages it to you
- pressing "," shows last signature.
- tries to work for both py-execute-buffer and py-execute-import-or-reload oriented work-styles.
TRICK: (4+5) is great for calling functions like:
- string.join
where I can _never_ remember whether it's the list or seperator first
Get it directly from SVN: https://slog.dk/svn/home/jensen/emacs-lisp/addon/py-complete.el
Feel free to suggest improvements, or to just improve the code yourself.
-- Helge
- 2007-02-15 add
also check this: Bash-like Tab Completion in Emacs python-mode
EditText (last edited 2008-11-15 13:59:52 by localhost)