473,396 Members | 1,997 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

py-complete help

Seems like py-complete.el offers some cool features, if I could only
get it to work.
From the file


;; 1. hippie-expand support via try-complete-py-complete-symbol,
;; just like the lisp-version, nice for the [S-tab] hungry.
What do I need to do to get this to work? I have hippie-expand mapped
to F7 (not S-tab) but I'm not sure how I can get hippie to "know"
about the above complete function

;;
;; 2. 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.
Nothing happens when I press M-return

;;
;; 3. pressing [f1] brings up help on a python symbol before point
;; (just what help(thingy) gives
if i try this after anything (e.g. "time")
Traceback (most recent call last):
File "<stdin>", line 1, in ?
NameError: name 'time' is not defined

;;
;; 4. pressing "(" tries to parse the preceeding tokens as a funtion
;; or method, and retrieve the signature via the inspect module, and
;; messages it to you
after time.time

py-complete: waiting for python prompt
Traceback (most recent call last):
File "<stdin>", line 1, in ?
NameError: name 'time' is not defined

;;
;; 5. pressing "," shows last signature.
;;
;; (4+5) is great for calling functions like:
;;
;; string.join
;;
;; where I can never remember whether it's the list or seperator first
pretty much same as above

;;
;; 6. tries to work for both py-execute-buffer and
;; py-execute-import-or-reload oriented work-styles. Feel free to
;; suggest improvements, or to just improve the code yourself.

Hmm.... Ok, I'm lame. What does this mean?
Thanks,

dustin

ps. I've been googling around but haven't found a great one stop
shopping resource for "power" programming techniques for python in
emacs. Any suggestions?

--
Dustin Lee
qhfgva=rot13(dustin)
Jul 18 '05 #1
0 1151

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: John J. Lee | last post by:
I'm tearing my hair out at what seems like weird import behaviour I'm getting from Python's stdlib test script, regrtest.py (not for the first time: seem to have forgotten the resolution from last...
22
by: Martin MOKREJ© | last post by:
Hi, I'm looking for some easy way to do something like include in c or PHP. Imagine I would like to have: cat somefile.py a = 222 b = 111 c = 9
6
by: zelzel.zsu | last post by:
I am a new learner of Python Programming Language. Now. I am reading a book. In the section relating to module, I see an example. the directory tree looks like below: root\ system1\...
9
by: svenn.are | last post by:
Hi, has anybody thought of / already used graphviz to convert the output of trace.py into a graph? I looked at PyUMLGraph, but 1. PyUMLGraph does not successfully create a dot file, and 2. I...
1
by: kristian.hermansen | last post by:
keherman@ibmlnx20:/tmp$ cat helloworld.py #!/usr/bin/env python import pygtk pygtk.require('2.0')
1
by: Timothy Grant | last post by:
I'm playing around with py.test and writing a parser for it's output for use in TextMate. I've run into what appears to be a strange phenomenon, but which is likely me doing something wrong. ...
3
by: Sandro Dentella | last post by:
Hi everybody, I'm trying to fix the packaging of a very simple package, but some problem show me that I have not well understood the whole mechanism The structure of my package (some debug...
0
by: . | last post by:
http://daviderognoni.blogspot.com?locawapp - MAIN NEWS =========== * add thread * add "Request" object * new "locawapp_main" function * fixed files.py
0
by: venkatbo | last post by:
Hi folks, On i686 Linux, I would like to place my python modules as: <base_dir>/src/py-modules/*.py and use the cmd from <base_dire>: ...base_dir]$ python src/py-modules/setup.py install...
1
by: jmalone | last post by:
I have a python script that I need to freeze on AIX 5.1 (customer has AIX and does not want to install Python). The python script is pretty simple (the only things it imports are sys and socket)....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.