473,655 Members | 3,105 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Eclipse IDE question

I am trying to use eclipse for python development. Is it possible to
run a python script without having to name/setup a configuration? Can
eclipse be set up so that "run" loads the code into the interpreter and
goes? I don't want to create a new run config every time I want to run
a script.

Jun 25 '06 #1
2 1494
kilnhead wrote:
I am trying to use eclipse for python development. Is it possible to
run a python script without having to name/setup a configuration? Can
eclipse be set up so that "run" loads the code into the interpreter and
goes? I don't want to create a new run config every time I want to run
a script.

try pydev , a plugin for eclipse
Jun 25 '06 #2
On Sun, 25 Jun 2006 13:21:32 -0400, seerhut <se*****@gmail. com> wrote:
kilnhead wrote:
I am trying to use eclipse for python development. Is it possible to
run a python script without having to name/setup a configuration? Can
eclipse be set up so that "run" loads the code into the interpreter and
goes? I don't want to create a new run config every time I want to run
a script.

try pydev , a plugin for eclipse

I'm fairly certain the OP is already doing that...

As far as I know (I haven't used pydev in awhile) you need a launch
configuration for each script. I do know you can run a script easily and
have the launch created for you just by right-clicking the file and saying
Run As > Python (I think). Here is what the FAQ says:

How do I run a module from within eclipse using PyDev (either Python or
Jython)?

To do that, the easiest way is going to the Run menu (Run->Run As->Python
or Jython). If it is not available in your current eclipse perspective,
you can enable it by going to window->customize perspective->commands and
checking the "Lauch" item (in this way, you can go only with the keyboard).

Another way to run a module is right clicking the module in the navigator
and choosing python->run (when a .py file is selected).

Markus.
Jun 25 '06 #3

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

Similar topics

0
2267
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 with the CDT plugin. This plugin also has a nice GUI frontend for the GDB. I've already tried several setups, no setup seemed to work.
4
2202
by: junee | last post by:
I tried to develop php on eclipse installed are prerequisites but it didn't work help me, if any one experienced with it succeeded. it is 0.7 build help plz
14
9315
by: Camellia | last post by:
Hi all, Can anyone please tell me how to pass an EOF signal in Eclipse? I've googled it and searched the CDT manual but still couldn't find it. I've tried ctrl+c and ctrl+d, they don't work. Any suggestions are appreciated:)
6
4673
by: Osiris | last post by:
Anyone out there that uses PC-Lint from within Eclipse ? Is it possible to use it as a plug-in ? if so...how ?
9
1480
by: king kikapu | last post by:
Hi, this is actually a question to those of us who use Eclipse and Pydev as their main Python developing environment. As i use Eclipse (3.3 Europa) only for Python and i have nothing to do with Java, is there a way to disable/uninstall some Java-specific stuff and make the environment actually more snappy ?? thanks for any help
4
1857
by: king kikapu | last post by:
Hi, i am using Eclipse (Platform Runtime binary) with PyDev and i was wondering if someone can help me with this: 1. I set breakpoints to a .py file and i have told Eclipse to open the Debug perspective when it sees that some .py file(s) of my project indeed contains breakpoints. So, i press F9, Eclipse starts, Debug perspective opens and i can use the debugger just fine. But when the app terminates, how can i tell Eclipse to switch...
3
3822
by: ups_genius | last post by:
Hi everyone! I created an error parser using the existing CDT stuff by basically copying some of the GNU / make / ... error parsers' code. I also added the extension point for the new error parser, and by debugging I see, that when activated, the new error parser is actually used to parse the regular build output. The reason for writing this error parser though was to parse the output produced by a batch file, run as "external tool"....
15
3681
by: Ramon F Herrera | last post by:
I have been using Eclipse for a few weeks, and IMO there is no better IDE. Since my experience has been so productive -and hence satisfactory- in Java, I would like to use the same IDE environment for C++ programming, the targets would be both Unix and Windows. If there is any Eclipse/C++ developer out there, could you share your recommendations, tips, opinions, etc.
0
1370
by: Pesho318i | last post by:
hello, I'm writing in the Java forum, because I believe here I can find ppl comfortable with Eclipse. I'd like to install the PLDT plugin for Eclipse, but always run into compatibility problems... I downloaded the C/C++ Eclipse and unzipped the PLDT 2.0 plugin in the Eclipse directory. However, after restarting Eclipse there was no change, I think it didn't detect the plugin. Do you have a clue why this is so?
1
1396
by: Harris Kosmidhs | last post by:
Hello, I recently installed eclipse with the php plugin. My question is: can eclipse be used in a medium size site where php file include others? Or when you use an MVC approach. To be more specific. I started coding a site with implementing my own simple mvc approach
0
8380
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
8816
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
8710
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
8497
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
8598
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7310
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4150
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
4299
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1928
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.