473,761 Members | 2,455 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Eclipse, Python, wxPython and code completion

Hello,

I've installed Eclipse, Python 2.5 and wxPython on Ubuntu 8.04. The
problem is that I can't get code completion for wx module. I don't
know if it occurs the same with other libraries outside the python
"core".

If I compile/run my code containing the wx library, I get an
application running correctly, so it looks that definition works fine.
Obviously, the obstacle is that I don't know (I don't want to either)
the name of every method of every wxPython class so it's difficult to
develop anything within this environment.

Thanks a lot

Note: I'm a newbie-coming-from-"Billy's"-WindowsXP
Aug 10 '08 #1
4 2434
On 10 aug, 20:42, leon.domi...@gm ail.com wrote:
Hello,

I've installed Eclipse, Python 2.5 and wxPython on Ubuntu 8.04. The
problem is that I can't get code completion for wx module. I don't
know if it occurs the same with other libraries outside the python
"core".

If I compile/run my code containing the wx library, I get an
application running correctly, so it looks that definition works fine.
Obviously, the obstacle is that I don't know (I don't want to either)
the name of every method of every wxPython class so it's difficult to
develop anything within this environment.

Thanks a lot

Note: I'm a newbie-coming-from-"Billy's"-WindowsXP
You can try SPE which is written in wxPython itself and has very good
code completion for wxPython. It also includes some wxPython GUI
builders such as wxGlade and XRCed. I improved it a lot for Hardy,
which I use myself:
sudo apt-get install spe

Stani
Aug 11 '08 #2
On 11 ago, 04:34, "SPE - Stani's Python Editor"
<spe.stani...@g mail.comwrote:
On 10 aug, 20:42, leon.domi...@gm ail.com wrote:
Hello,
I've installed Eclipse, Python 2.5 and wxPython on Ubuntu 8.04. The
problem is that I can't get code completion for wx module. I don't
know if it occurs the same with other libraries outside the python
"core".
If I compile/run my code containing the wx library, I get an
application running correctly, so it looks that definition works fine.
Obviously, the obstacle is that I don't know (I don't want to either)
the name of every method of every wxPython class so it's difficult to
develop anything within this environment.
Thanks a lot
Note: I'm a newbie-coming-from-"Billy's"-WindowsXP

You can try SPE which is written in wxPython itself and has very good
code completion for wxPython. It also includes some wxPython GUI
builders such as wxGlade and XRCed. I improved it a lot for Hardy,
which I use myself:
sudo apt-get install spe

Stani
Thanks, Stani

I will check this out
Aug 11 '08 #3
if you need a good python ide with great code completition, then why
don't you try WingIde.

On 11 kol, 10:49, leon.domi...@gm ail.com wrote:
On 11 ago, 04:34, "SPE - Stani's Python Editor"

<spe.stani...@g mail.comwrote:
On 10 aug, 20:42, leon.domi...@gm ail.com wrote:
Hello,
I've installed Eclipse, Python 2.5 and wxPython on Ubuntu 8.04. The
problem is that I can't get code completion for wx module. I don't
know if it occurs the same with other libraries outside the python
"core".
If I compile/run my code containing the wx library, I get an
application running correctly, so it looks that definition works fine.
Obviously, the obstacle is that I don't know (I don't want to either)
the name of every method of every wxPython class so it's difficult to
develop anything within this environment.
Thanks a lot
Note: I'm a newbie-coming-from-"Billy's"-WindowsXP
You can try SPE which is written in wxPython itself and has very good
code completion for wxPython. It also includes some wxPython GUI
builders such as wxGlade and XRCed. I improved it a lot for Hardy,
which I use myself:
sudo apt-get install spe
Stani

Thanks, Stani

I will check this out
Aug 11 '08 #4
le**********@gm ail.com wrote:
Hello,

I've installed Eclipse, Python 2.5 and wxPython on Ubuntu 8.04. The
problem is that I can't get code completion for wx module. I don't
know if it occurs the same with other libraries outside the python
"core".

If I compile/run my code containing the wx library, I get an
application running correctly, so it looks that definition works fine.
Obviously, the obstacle is that I don't know (I don't want to either)
the name of every method of every wxPython class so it's difficult to
develop anything within this environment.

In the IDE I use (under winXP),
sometimes the wx dictionairy is available,
sometimes it's not.
It's totally unclear to me why this happens,
but I noticed that it helps, to import the wx library as one of the very
first import statements.

cheers,
Stef
Thanks a lot

Note: I'm a newbie-coming-from-"Billy's"-WindowsXP
--
http://mail.python.org/mailman/listinfo/python-list
Aug 11 '08 #5

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

Similar topics

3
5004
by: G.A. | last post by:
I've installed Eclipse 3.0 and the latest pyeclipse. I can get the editor run - at least I think so, because it seems to do reasonable syntax highlighting. However, I can't get the Python console window to appear (Unable to instantiate view: org.python.pyeclipse.views.ConsoleView), nor can I get python to run to completion. The MSWindows Task Manager shows that eclipse has successfully started python.exe (at least a process by that name...
49
4147
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).
2
3058
by: Jim Hargrave | last post by:
Eclipse provides a very nice application framework which supports plug-ins. It's easy to dynamically add new functionality, menu items, property editors, options etc.. using a combination of XML and Java code. Is there a similar framework for Python? If not any hints on how such a framework would be implemented? I'm building a client side tool using Python/wxPython for our translators and would like to have a pluggable architecture...
29
3661
by: seberino | last post by:
I'm trying to move beyond Emacs/Vim/Kate and was wondering if Eclipse is better and if it is the *best* IDE for Python. Should I leave Emacs and do Python coding in Eclipse? Chris
9
5556
by: zxo102 | last post by:
Hi everyone, I am using a python socket server to collect data from a socket client and then control a image location ( wxpython) with the data, i.e. moving the image around in the wxpython frame. But the "app.MainLoop()" in wxpython looks like conflicting with the "while 1:" in socket server. After I commented the "app.MainLoop()", everything is working except two things: 1. if I click anywhere on the screen with the mouse, the image is...
16
4014
by: Amir Michail | last post by:
Hi, It seems to me that measuring productivity in a programming language must take into account available tools and libraries. Eclipse for example provides such an amazing IDE for java that it is no longer obvious to me that one would be much more productive in python for medium sized projects. Sure, all that Java static typing can be painful, but Eclipse takes
5
3286
by: Laszlo Nagy | last post by:
Hello, I was trying to get answers for these. SPE homepage was down. Then I found it on berlios (http://developer.berlios.de/forum/forum.php?forum_id=12695) but no one answered since 5 days. In fact nobody seems to write in anything to that forum, I presume it is dead. I have no other choice than ask it here. I apologize in advance, they may be silly questions. 1. How can I navigate between opened files? Usually I open 10 or more
5
6396
by: John Henry | last post by:
I am back against the wall trying to migrate my multithreaded application from Python 2.3 to 2.5. The part of the code that's failing has to do with queues (2.3 queues and 2.5 queues are not the same). Since WingIDE doesn't support multithread debugging (they've been saying that one day they might support that - and that was 2003), I am starting to look for alternatives. debug under Eclipse/Pydev. I did a google search of this...
5
4473
by: blaine | last post by:
The wxPython group is a bit stale compared to this group, so I'll give it a shot :) (READ: Originally when I started htis post, Python 2.5 at the shell did not work (identical behavior to eclipse). I'm not sure why, but it has since worked fine with no problems. Not sure whats going on there... I didn't change anything. Anyways...) Ok so I am having this problem. I am using OS X 10.4. I use MacPython and installed wxPython a few...
0
9522
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
10111
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9948
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
9902
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,...
0
6603
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
5215
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5364
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3866
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2738
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.