Gedit - Python ide possible?

Asked by DanielFolsom

Thanks to Ecir Hana, that was the answer I needed, however now I have a new question. So everything works EXCEPT I can't have a user-interface, me;ning no input OR raw_input will work, any idea how to fix this?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gedit Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
fzap (pflaumenmus92) said :
#1

there is a python class-browser (plugin) available at http://live.gnome.org/Gedit/Plugins

Revision history for this message
ecir hana (ecir-hana) said :
#2

if i understood correctly, here's how:
edit > preferences > plugins > check "external tools" and hit "configure plugin"
then, hit "new" and add following properties:
description: run python script
accelerator: f5
command: python
input: current document
output: insert in output panel
applicability: all documents

hope it helps....

Revision history for this message
Corey Woodworth (coreywoodworth) said :
#3

I too have tried to set this up and ran into the same problem. I small workaround is to use the terminal plugin and then type python mydoc.py in the terminal. This works with input and raw_input but of course isn't as convinient as having python bound to F5. There has gotta be a way to do this!

Revision history for this message
Sayan "Riju" Chakrabarti (sayanriju) said :
#4

edit > preferences > plugins > check "external tools" and hit "configure plugin"
then, hit "new" and add following properties:
description: run python script
accelerator: f5
command: xterm -e 'python ${GEDIT_CURRENT_DOCUMENT_URI#file://} ; echo -e "\n\n********\nPress Return Key to Exit"; read junk'
input: current document
output: insert in output panel
applicability: all documents

Can you help with this problem?

Provide an answer of your own, or ask DanielFolsom for more information if necessary.

To post a message you must log in.