473,385 Members | 1,356 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,385 software developers and data experts.

Python Editor with Autocorrection

hello!
i am searching for a free python editor with
autocorrection capabillities.

for example:" the wrong setfocus() call to become
SetFocus(), etc."
thanks

__________________________________________________ _________
All New Yahoo! Mail – Tired of Vi@gr@! come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html
Aug 21 '06 #1
3 1727
Laurentiu <la*********@yahoo.comwrites:
i am searching for a free python editor with
autocorrection capabillities.

for example:" the wrong setfocus() call to become
SetFocus(), etc."
Perhaps not quite what you were looking for, but emacs' dabbrev-expand
works well for avoiding mistyped Python names (not to mention typing
less). It searches through all buffers for a "word" matching the
first few characters you typed.

So, to type the first "dabbrev-expand" in this sentence, I just typed
'da', then hit F4 (which I have bound to dabbrev-expand). If there
are multiple matches, you can carry on hitting F4 until the expansion
you want is found, or type a few more characters and try again. The
capitalization behaviour is controlled by the variable
dabbrev-case-replace.

I think other editors can do something similar, but it works well with
the emacs way of working (one emacs process open, lots of files loaded
into buffers in that process).
John
Aug 21 '06 #2

Laurentiu wrote:
hello!
i am searching for a free python editor with
autocorrection capabillities.

for example:" the wrong setfocus() call to become
SetFocus(), etc."
thanks
Python is a dynamic language, which means that methods that may not
exist in your source code may spring to being at runtime at any point.
So it may be undesirable to have such feature. (For example, take a
look at an XML binding tool such as Amara which creates objects at
runtime after parsing an XML file).

Most good editors (Scintilla based editors, Emacs, Vi etc) have
auto-completion for symbols that have occured in the current file; and
some advanced IDEs (PyDev, WingIDE, SPE, Komodo etc) will auto-complete
to some degree based on your imports through static analysis.

Aug 22 '06 #3
"Ravi Teja" <we*********@gmail.comwrites:
[...]
Most good editors (Scintilla based editors, Emacs, Vi etc) have
auto-completion for symbols that have occured in the current file; and
What I find really useful in emacs is completion based on *all* open
files (usually I have maybe twenty files open at once).

some advanced IDEs (PyDev, WingIDE, SPE, Komodo etc) will auto-complete
to some degree based on your imports through static analysis.
Pythonwin also does that, I'm told. Emacs can do introspection-based
completion. The support in emacs was a little clunky, and I found
dabbrev-expand much more useful anyway.
John
Aug 23 '06 #4

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

Similar topics

145
by: David MacQuigg | last post by:
Playing with Prothon today, I am fascinated by the idea of eliminating classes in Python. I'm trying to figure out what fundamental benefit there is to having classes. Is all this complexity...
147
by: Sateesh | last post by:
Hi, I am a beginner in Python, and am wondering what is it about the indentation in Python, without which python scripts do not work properly. Why can't the indentation not so strict so as to give...
0
by: Josiah Carlson | last post by:
QOTW: "I still think this is a silly idea, but at least it doesn't track mud all over Python's nice clean rugs." -- Michael J. Fromberger...
30
by: bblais | last post by:
Hello, Let me start by saying that I am coming from a background using Matlab (or Octave), and C++. I am going to outline the basic nuts-and-bolts of how I work in these languages, and ask for...
7
by: JAG CHAN | last post by:
Friends, As I had written earlier, I am trying to learn Python. I chose IDLE as an editor to learn Python. Now I find that it is an online editor. It is not possible for me to be always on online...
852
by: Mark Tarver | last post by:
How do you compare Python to Lisp? What specific advantages do you think that one has over the other? Note I'm not a Python person and I have no axes to grind here. This is just a question for...
8
by: why? | last post by:
Im working with Python 2.2 on my red hat linux system. Is there any way to write python codes in separate files and save them so that i can view/edit them in the future? Actually I've just started...
0
by: Maurice LING | last post by:
"The Python Papers" (http://pythonpapers.org), ISSN 1834-3147, is an online e-journal, covering articles on Python in the community, industry and academia. We were established in the second half of...
3
by: danesh1354 | last post by:
Hi All, First I need to construct a text editor by python programming and add this code to a biger code that has been written before, and i would like that by my code for this editor have a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.