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

Ideal python idle

Hello,

I decided that the ultimate python IDE would basically be a vim editor
with a hotkey or button that ran the currently edited module as
"__main__", allowing gui (tkinter, wx) windows to spawn etc.

That's it.

I tried the "runscript.vim" plugin which basically promises this, but it
seems to have some problems:

1. stdout is insert at the cursor

2. This error message is given upon exit:

E172: Only one file name allowed:
silent botright new Output window

3. This error message is given upon trying to write changes:

E382: Cannot write, 'buftype' option is set

Anyway, what would really be cool is idle, with vim, running as split
window with a hotkey or button to run scripts.

Even IDLE complains about subprocesses and binding ports, etc. But IDLE
doesn't use vim, so its not really an option, unless it CAN use vim
somehow--and I can get past the port binding. Not really interested on
getting past this port binding issue unless IDLE can be used with vim,
though.

Any advice from someone who has gotten runscript to work or knows of a
tool like I describe would be greatly appreciated.

James
Sep 24 '06 #1
3 2038
James Stroud wrote:
Hello,

I decided that the ultimate python IDE would basically be a vim editor
with a hotkey or button that ran the currently edited module as
"__main__", allowing gui (tkinter, wx) windows to spawn etc.
[snip]

Hi James, I'm sure I'm missing something here, but doesn't :!python %
command run the script as __main__? It sure does spawn gui windows for
me. What exactly is the problem with using that command? It does not
return you to the line where the error happened but the runscript.vim
you mentioned doesn't seem to do that either.

-Rainy

Sep 24 '06 #2

Rainy wrote:
[snip]
Oh, I see now that F9 designates output buffer. I usually use vim with
a log file and open the log file in a new Vim tab.

Sep 24 '06 #3

Rainy wrote:
[snip]
Oh, I see now that F9 designates output buffer. I usually use vim with
a log file and open the log file in a new Vim tab.

-Rainy

Sep 24 '06 #4

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

Similar topics

1
by: Vin Jovanovic | last post by:
Trying to start Python IDLE through Start>Programs>Python 2.3> IDLE doesn't work From DOS ... I get this .... C:\>python C:\Python23\Lib\idlelib\idle.py Traceback (most recent call last):...
6
by: Aubrey Hutchison | last post by:
Using Python 2,3,2 with idle for developing programs about 200 lines long. - Problem is not common to any specific program. Program are rather simple with no trick programming. Usually no classes...
5
by: StepH | last post by:
Hi, I'm new to Python. I'm working under XP, and I've alot of prob. (not with the langage itself, but with the tools): I've install Pyhton 2.4 in C:\Python24, using the .msi windows...
8
by: DavidHolt | last post by:
I have a problem that I see on two different machines, one running XP SP1 and one XP SP 2. On both I installed Python 2.4. I can't seem to start IDLE. When I try to start it, I get an...
0
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 416 open (-14) / 3463 closed (+16) / 3879 total ( +2) Bugs : 930 open ( +8) / 6333 closed (+17) / 7263 total (+25) RFE : 244 open...
4
by: renguy | last post by:
I am interested in making some changes and additions to the Python environment (Python and IDLE). I have the source code and can build the source, but what I want to know is what are the "main"...
3
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...
0
by: Rajanikanth Jammalamadaka | last post by:
There seems to be a bug with idle on Mac OS X. http://bugs.python.org/issue4017 It has to do something with reinstalling the TCL and TK. If you want to see detailed error messages, open a...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...

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.