473,796 Members | 2,515 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python editors for Windows question

Hello,

I just started programming in Python last night, and I've really enjoyed my
experience so far. I would like to know if there is a Windows editor that
recognizes Python and will support a module syntax/definition lists For
instance, let's say that I set form = cgi and then when I hit the period
(".") on the keyboard, a list of objects shows up, such as FieldStorage(),
etc.. Any suggestions are appreciated. Thank you!

Dustin
Jul 18 '05 #1
11 1715
I believe what I'm looking for is an "autocomple te" capable editor :-)
"Dustin" <du****@myaddre ss.net> wrote in message
news:D6******** **************@ news.easynews.c om...
Hello,

I just started programming in Python last night, and I've really enjoyed my experience so far. I would like to know if there is a Windows editor that
recognizes Python and will support a module syntax/definition lists For
instance, let's say that I set form = cgi and then when I hit the period
(".") on the keyboard, a list of objects shows up, such as FieldStorage(),
etc.. Any suggestions are appreciated. Thank you!

Dustin

Jul 18 '05 #2
Dustin wrote:
I just started programming in Python last night, and I've really enjoyed my
experience so far. I would like to know if there is a Windows editor that
recognizes Python and will support a module syntax/definition lists For
instance, let's say that I set form = cgi and then when I hit the period
(".") on the keyboard, a list of objects shows up, such as FieldStorage(),
etc.. Any suggestions are appreciated. Thank you!


SciTE can handle that: http://scintilla.sourceforge.net/SciTE.html
So can practically every other halfway decent editor these days,
most likely.

-Peter
Jul 18 '05 #3
I haven't actually checked if it does it for PHP but it says it has
autocomplete, weather it explores your classes or not I don't know.
http://www.activestate.com/Products/Komodo/index.plex
Jul 18 '05 #4
Komodo will do it. It will even autocomplete custom class information.
For example, if I type:

x.y.z = 5

the next time I type x. it will autocomplete (suggest) that I add 'y'
and so on. (woooo, aahhhhhh...)

Noah from IT Goes Click wrote:
I haven't actually checked if it does it for PHP but it says it has
autocomplete, weather it explores your classes or not I don't know.
http://www.activestate.com/Products/Komodo/index.plex

Jul 18 '05 #5
PythonWin (part of the pywin32/win32all package) has limited
autocomplete. Basically it will auto-complete for modules which are
loaded, so if you import cgi in the interactive session then you will
have autocompletion for cgi. If the module is not loaded, then PythonWin
uses a simpler algorithm that searches through the current file looking
for x.y notations where x matches your currently-begun x.

PythonWin also has very nice ctrl+space identifier completion which
searches back/forward from where you're typing, so you can type longer
identifiers with just a few keystrokes.

Would be nice to have that same set of mechanisms in all Python
editors. I believe Boa has auto-completion in much the same way. Not
sure about the other win32 editors. I think the Activestate IDEs may
have auto-completion, but again, not sure.

Good luck and welcome,
Mike

Dustin wrote:
Hello,

I just started programming in Python last night, and I've really enjoyed my
experience so far. I would like to know if there is a Windows editor that
recognizes Python and will support a module syntax/definition lists For
instance, let's say that I set form = cgi and then when I hit the period
(".") on the keyboard, a list of objects shows up, such as FieldStorage(),
etc.. Any suggestions are appreciated. Thank you!

Dustin

_______________ _______________ _________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://members.rogers.com/mcfletch/

Jul 18 '05 #6
Thank you everyone. I will test out the various editors! :-)

"Dustin" <du****@myaddre ss.net> wrote in message
news:D6******** **************@ news.easynews.c om...
Hello,

I just started programming in Python last night, and I've really enjoyed my experience so far. I would like to know if there is a Windows editor that
recognizes Python and will support a module syntax/definition lists For
instance, let's say that I set form = cgi and then when I hit the period
(".") on the keyboard, a list of objects shows up, such as FieldStorage(),
etc.. Any suggestions are appreciated. Thank you!

Dustin

Jul 18 '05 #7
You can also give SPE (Stani's Python Editor) a try. (http://spe.pycs.net)

---Hemanth

"Dustin" <du****@myaddre ss.net> wrote in message news:<vU******* *************** @news.easynews. com>...
Thank you everyone. I will test out the various editors! :-)

"Dustin" <du****@myaddre ss.net> wrote in message
news:D6******** **************@ news.easynews.c om...
Hello,

I just started programming in Python last night, and I've really enjoyed

my
experience so far. I would like to know if there is a Windows editor that
recognizes Python and will support a module syntax/definition lists For
instance, let's say that I set form = cgi and then when I hit the period
(".") on the keyboard, a list of objects shows up, such as FieldStorage(),
etc.. Any suggestions are appreciated. Thank you!

Dustin

Jul 18 '05 #8
The best auto-completion you can get for Python is: WingIde
http://wingide.com/

Normally WingIDE is quite good at auto-completion but sometimes it needs
some help:

if wingIde does not "recognize" a class you may add:

assert isinstance(btnH ello, wxButton)

and after that point it will handle this for you too...

Good luck,
Marco


Jul 18 '05 #9
Marco Aschwanden <PP**********@s pammotel.com> wrote in message news:<ma******* *************** *************** *@python.org>.. .
The best auto-completion you can get for Python is: WingIde
http://wingide.com/

Normally WingIDE is quite good at auto-completion but sometimes it needs
some help:

if wingIde does not "recognize" a class you may add:

assert isinstance(btnH ello, wxButton)

and after that point it will handle this for you too...


But keep in mind that auto-completion is by concepts miles away from
what you see in Java. The problem for us who try to implement this
feature is always that most people don't understand why this is
impossible in a dynamically typed language.
Jul 18 '05 #10

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

Similar topics

0
1897
by: Emile van Sebille | last post by:
QOTW: "Have you ever used the copy module? I am *not* a beginner, and have used it *once* (and I can't remember what for, either)." -- Michael Hudson "It will likely take a little practice before this stuff rattles off your fingertips easily." -- Paul Rubin BJ MacNevin wants to run python from a CD. http://groups.google.com/groups?threadm=BhVyb.389117$Tr4.1144562@attbi_s03
3
5183
by: Kenneth McDonald | last post by:
After looking around at various editors, I've finally decided on (I think :-) ) Vim for my future work. (jed is a great editor, but doesn't do neat things like allow me to write python code to add to the editor functionality. Emacs is just too bloated these days. jEdit is one of the best GUI editors I've seen, but I've still not seen a GUI editor with the power of those with a non-GUI ancestry. etc. etc.) However, I can't quite figure...
49
4156
IDE
by: Thomas Lindgaard | last post by:
Hello I am probably going to start a war now... but so be it :) I just want to hear what all you guys who eat pythons for breakfast use for python coding. Currently I use Kate, but I would really like an IDE with debugger and a source browser (ie. one the I can use to browse through modules etc. when looking for just the right curses stuff and such - I am a newcomer to Python).
37
2629
by: Carlos Ribeiro | last post by:
Oh well. A mailing list is not the most appropriate place for rants (a blog is better), but it's still better than keeping it for myself. I'm frustrated. My search for a good IDE to support my activities -- doing development for Python in the Windows environment -- are not being succesful as I had originally dreamt. I have big constraints on what can I do now; money is not an option, and my current machine is still useful but it's below...
35
3113
by: Michael Kearns | last post by:
I've been using python to write a simple 'launcher' for one of our Java applications for quite a while now. I recently updated it to use python 2.4, and all seemed well. Today, one of my colleagues noted that on her machine the launcher would complain it was missing a DLL - msvcr71.dll However, there's a very grey area concerning the redistribution of said DLL. If you've been keeping up with the dev list, and some other web
23
2412
by: gord | last post by:
As a complete novice in the study of Python, I am asking myself where this language is superior or better suited than others. For example, all I see in the tutorials are lots of examples of list processing, arithmetic calculations - all in a DOS-like environment. What is particularly disappointing is the absence of a Windows IDE, components and an event driven paradigm. How does Python stand relative to the big 3, namely Visual C++,...
122
7440
by: Edward Diener No Spam | last post by:
The definition of a component model I use below is a class which allows properties, methods, and events in a structured way which can be recognized, usually through some form of introspection outside of that class. This structured way allows visual tools to host components, and allows programmers to build applications and libraries visually in a RAD environment. The Java language has JavaBeans as its component model which allows Java...
20
7812
by: W. Watson | last post by:
I downloaded python-2.5.msi and installed it. I believe its editor is IDE. I understand there's a Win editor called pythonwin. I believe it's in the download pywin32-210.win32-py2.5.exe, but I'm not sure if this exe file has just the editor or all of Python. Comments? If not how do I get the PythonWin editor by itself? BTW, one of the features I did not like of IDE is the limited file Print command. It puts everything in 16pt type, and...
3
3953
by: mmm | last post by:
I am looking for advice on Python Editors and IDEs I have read other posts and threads on the subject and my two questions at this time are mainly about the IDLE-like F5-run facilities. While I am fairly happy using IDLE, the debugger is unintuitive to me and I wanted a project manager and a better variable/ class browser and also the potential to edit/run other languages such as R and Tex/Latex. Windows and LINUX compatibility is...
0
9683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9529
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10231
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10176
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7550
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6792
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5576
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3733
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2927
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.