Re: [gedit-list] Gedit Python Console plugin
- From: "Zeth Green" <theology gmail com>
- To: gedit-list gnome org
- Subject: Re: [gedit-list] Gedit Python Console plugin
- Date: Sat, 10 Feb 2007 23:56:58 +0000
Hello Everyone,
Well I have found a quite a bit since I last posted. I found out how
to do what I asked, namely how to execute a Python file in the Python
Console plugin, and why that is a really stupid thing to do, namely
because the aim of the plugin is to provide easy access to Gedit's
API, not to act execute arbitrary code.
So after crashing Gedit a million times, I decided to go for a new
approach, which was to write my own console plugin that runs as a
completely separate Python process, so like Fight club, what happens
in the console stays in the console, it will never crash Gedit.
It is working out well for me, if anyone else wants a go then in can
be found here:
http://pywm.eu/pug/GeditPlugins/BetterPythonConsole
Best Wishes,
Zeth
On 29/01/07, Zeth Green <theology gmail com> wrote:
Hello,
So I have the Python Console plugin installed. I have the main editing
window at the top and the console at the bottom. When I have a file
loaded in the top part, how do I run the file and see the output in
the console?
I have tried IDLE's F5 but no joy.
Best Wishes,
Zeth
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]