You are not logged in.
Pages: 1
Topic closed
Is there a python IDE with autocompletion similar to Visual Basic or Visual C++?
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
Do you want 'written in python' or 'works for python'?
the only python IDE I remember is idle; it comes with Python. I know there are others, I investigated them once, but I forget them all.
JEdit has pretty good Python support, but is written in Java.
Dusty
Offline
i'm looking for works in python
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
gvim to the people
arch + gentoo + initng + python = enlisy
Offline
gvim + some plugins:
i use http://www.vim.org/scripts/script.php?script_id=1074 for calltips
Offline
good tip but I'm not that advanced coder yet,
I use gvim for everything from xml ,c, python but I don't like autocompletion features,
maybe that's more for "people that know what they are doing"
gvim is damn good though,
nice themes also
arch + gentoo + initng + python = enlisy
Offline
I get so many errors using python calltips..
This when starting calltips:
Error detected while processing function DoCalltips:
line 2:
E319: Sorry, the command is not available in this version: python CT_Init()
line 3:
E319: Sorry, the command is not available in this version: python CT_mapkeys()
line 4:
E319: Sorry, the command is not available in this version: python CT_ImportObjec
t()
And this when starting vim:
Error detected while processing /usr/share/vim/plugin/python_calltips.vim:
line 81:
E319: Sorry, the command is not available in this version: python << PYTHONEOF
line 82:
E492: Not an editor command: import vim
line 83:
E492: Not an editor command: import __builtin__
line 84:
E492: Not an editor command: from string import letters
line 85:
E488: Trailing characters: try:
line 86:
E492: Not an editor command: from sets import Set
line 87:
E492: Not an editor command: except:
line 88:
E492: Not an editor command: pass
line 90:
E492: Not an editor command: def CT_GetWordUnderCursor():
line 92:
E492: Not an editor command: stack = []
line 93:
E492: Not an editor command: leftword = rightword = popword = word = ''
line 94:
E492: Not an editor command: WORD = vim.eval('expand("<cWORD>")') #return a big WORD
line 96:
E488: Trailing characters: #According '.', seperate the WORD into left part and right part
line 97:
E492: Not an editor command: rindex = WORD.rfind('.')
line 98:
E121: Undefined variable: rindex
E15: Invalid expression: rindex == -1: #if a WORD is not include '.'
line 137:
E133: :return not inside a function
line 170:
E133: :return not inside a function
line 181:
E133: :return not inside a function
line 224:
E488: Trailing characters
line 232:
E488: Trailing characters
line 240:
E488: Trailing characters
line 322:
E133: :return not inside a function
line 428:
E171: Missing :endif
Hit ENTER or type command to continue
What version do you have and how did you install it?
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
i'm using it on windows from work... dont have it setup at home... you're going to need some pythin packages IIRC...
im not really sure... it "just works" here... let me do a bit of research when i get home (on my way out of the office now...)
however : vim needs to be compiled with "+python" and I'm not sure if the arch package has it... according to the creator, it works fine in vim6.3 and python 2.3.....
Offline
How do I compile vim with pyton?
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
Nevermind, I got it to compile.. Calltips are nice
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
WOW. Calltips and SuperTab... That makes vim the PERFECT EDITOR I WAS LOOKING FOR!! Thank you so much guys... I am eternally grateful No more keeping python API docs up all the time
Question: Is there any way to automatically call DoCalltips() when editting a *.py file?
Maybe I'll make a vim-python package with python enabled and plugins installed.... Because this beats ANY ide ANY day!
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
Also: Is there some way of running the program through python in vim? Maybe some plugin or something?
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
I know i can :pyfile whatever.py, but how can I pyfile the file I'm working on (saved or not?)
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
there's a tip that explains it... i can't recall offhand... i think the tip or script wasn't specifically for python, but actually allowed you to type out some python, select it all and run the script and it inserts the output in place of the script - it was really cool.... tomorrow at work i'll make sure to post some of my tidbits
Offline
There's also DrPython. I can't say I've used it much (I think there's gonna be some work to get it going with Arch, old wxgtk and such). And code completion needs a plugin.
And if you use KDE, there's eric3. I believe it's Staging that it's in, but it seems to have a package conflict.
Just thought I'd throw those out.
Offline
python << EOL
import vim, StringIO,sys
def PyExecReplace(line1,line2):
r = vim.current.buffer.range(int(line1),int(line2))
redirected = StringIO.StringIO()
sys.stdout = redirected
exec('n'.join(r[:]) + 'n')
sys.stdout = sys.__stdout__
output = redirected.getvalue().split('n')
r[:] = output[:-1] # the -1 is to remove the final blank line
redirected.close()
EOL
command -range pyexec python PyExecReplace(<f-line1>,<f-line2>)
add this to your vimrc... you can fiddle with it, but basically, you select a python snippet and run ":pyexec" and it will run it... you can use % to run the entire buffer too.... ":%pyexec" i think
however, this does replace the selection with an output... if you know vim scripting+python well enough (i really dont) you could open a temp buffer and spit the output there.....
Offline
I know there is an eclipse plugin for python. I have started using it, and its verrrry nice.
Offline
I actually just looked at the page for that plugin yesterday and didn't think of it. I think this is what you meant: http://pydev.sourceforge.net/
Offline
Yuhuh, i found it here a few weeks ago:
http://www-106.ibm.com/developerworks/l … drs-tp2604
Offline
I've heard great things about ActiveState's Komodo IDE.
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
I've heard great things about ActiveState's Komodo IDE.
Me too, but its a commercial product...
Eclipse works quite well thought, and pardon me, Vim lovers.. but Emacs has great support too. (Im bi-editor Vim for fast console editing and Emacs for long works)
Eric looked nice, but it didnt worked so good to me, also, KDevelop and Anjuta have some kind of support i think...
What other good (free) IDEs are out there?
Leonardo Andrés Gallego
www.archlinux-es.org || Comunidad Hispana de Arch Linux
Offline
hi, im probe to use drpython. I'm interested to run the code... I press the run button but the code doesn't start
Offline
This thread is almost 5 years old. Please post your own new topic.
archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson
Offline
This thread is almost 5 years old. Please post your own new topic.
What he said. :)
Offline
Pages: 1
Topic closed