Hi!
Does anyone here have experience with Python in Eclipse environment? I have downloaded the Pydev plug-in for Eclipse. I like the editor and I find it very useful to be able to add files in a project and easily navigate between the files. I can start a Python interactive window. However, the Python interactive window does not keep varibles in memory from the Python scripts that I run. Also, when I debug I want to be able to set a breakpoint and use the interactive window to test code when I reach the breakpoint. I can go to the interactive window while debugging, but I does not keep the execution in memory.
Is there some way to execute a Python script in Eclipse and use the interactive window in a similar way as for PythonWin? Is there any other plug-in than Pydev that will allow this? Or can you recommend another IDE that is as simple to use as PythonWin regarding the interactive window, but will allow to create projects with a simple navigate view.
Any comments will be helpful.
Best regards
/Fredrik
4 4639
I'll bet that if you look in Task Manager, you will see that there is a second (or maybe third) python process running (one for the shell - interpreter window - and one for the program that you are debugging). If (like IDLE) there is an option for something like "don't use separate thread", then all namespaces get shared. You end up with all the variables of the interpreter visible with your variables (not ideal, but it works). A really good environment will provide all these things that you want - break points (although I just use print statements) AND introspection (ability to look inside all variables) - here print statements work for me also. I haven't looked at Eclipse yet, but may take a peek soon. I hape someone on this forum has the experience that you are looking for. Good luck - "talk" to you soon,
Barton
I'm thinking that you have already found this link?
Hi!
I am looking for the same thing as foffens. I only found a commercial extension which porbably has the desired solution. Did anybody have any other ideas/hints?
Comments very welcomed!
Jason
Hi!
Does anyone here have experience with Python in Eclipse environment? I have downloaded the Pydev plug-in for Eclipse. I like the editor and I find it very useful to be able to add files in a project and easily navigate between the files. I can start a Python interactive window. However, the Python interactive window does not keep varibles in memory from the Python scripts that I run. Also, when I debug I want to be able to set a breakpoint and use the interactive window to test code when I reach the breakpoint. I can go to the interactive window while debugging, but I does not keep the execution in memory.
Is there some way to execute a Python script in Eclipse and use the interactive window in a similar way as for PythonWin? Is there any other plug-in than Pydev that will allow this? Or can you recommend another IDE that is as simple to use as PythonWin regarding the interactive window, but will allow to create projects with a simple navigate view.
Any comments will be helpful.
Best regards
/Fredrik
Hi!
I am looking for the same thing as foffens. I only found a commercial extension which porbably has the desired solution. Did anybody have any other ideas/hints?
Comments very welcomed!
Jason
If eclipse doesn't have the "import module into shell" command (the way that Boa Constructor does), you can:
>>> from whateverModule import *
then call any function or create classes in the shell and have all the values available.
Sign in to post your reply or Sign up for a free account.
Similar topics
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...
|
by: julio |
last post by:
Sorry but there is no another way, c# .net and mono are going to rip
python, not because python is a bad lenguage, but because is to darn old
and it refuses to innovate things, to fix wrong things,...
|
by: peter |
last post by:
Hello all,
I would like to debug my python libraries, written in c++, with GDB
(gnu debugger)
I'm using the mingw compiler in a windows environment. As development
environment I use eclipse...
|
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
|
by: Sullivan WxPyQtKinter |
last post by:
IDLE is no longer satisfactory for me. Other IDEs make me very
confused. Really do not know which one to use.
I use WinXP sp2 for current development.
So far as I know, Eclipse + PyDev + PyDev...
|
by: Stan Cook |
last post by:
I've been trying to use Eclipse with Python on Linux for a
while and have noticed something odd. After running the
code or debugging a few times, its responsiveness gets
really bad. Upon...
|
by: stylecomputers |
last post by:
Hi All, What do you find the best IDE for creating web applications in
Python is? Preferably FOS IDE.
Cheers
|
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...
|
by: ram.rachum |
last post by:
Hey, I'm looking for a good Python environment. That is, at least an
editor and a debugger, and it should run on Windows. Does anyone have
any idea?
|
by: Anthony |
last post by:
Hi, I'm a FoxPro programmer, but I want to learn python before it's
too late. I do a lot of statistical programming, so I import SPSS
into python. In my opinion, the best features of Visual...
|
by: Kemmylinns12 |
last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
|
by: Naresh1 |
last post by:
What is WebLogic Admin Training?
WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
|
by: antdb |
last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine
In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
|
by: WisdomUfot |
last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
|
by: BLUEPANDA |
last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
|
by: Rahul1995seven |
last post by:
Introduction:
In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
|
by: ezappsrUS |
last post by:
Hi,
I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...
|
by: jack2019x |
last post by:
hello, Is there code or static lib for hook swapchain present?
I wanna hook dxgi swapchain present for dx11 and dx9.
|
by: DizelArs |
last post by:
Hi all)
Faced with a problem, element.click() event doesn't work in Safari browser.
Tried various tricks like emulating touch event through a function:
let clickEvent = new Event('click', {...
| |