[PyKDE] A working konsole part example in PyKDE

Jim Bublitz jbublitz at nwinternet.com
Thu Oct 26 18:05:01 BST 2006

On Thursday 26 October 2006 08:54, Russell Brown wrote:
> Quoth Reza Salari.....
> > a working konsole part example.
> That could be interesting.  If I put that example into a file and point
> python at it I assume it's meant to do more than say
> # python k.py
>     File "k.py", line 20
>       self.w.show ();
>       ^
> SyntaxError: invalid syntax
> #

> Do I have to do something magic/install something else.

Looks like the indentation in the original got screwed up in the emailing 
process - everthing within the "def" blocks should be at the same indent 
level (the error is probably the indentation in line 19).


> Please excuse the complete pyKDE ignorance here.  I did look at using
> pyKDE for a project a while back but it seemed impossible to do what I
> wanted[1] so went on to something else.  I've stayed subbed to this list
> though just for interests sake.
>  [1]  - I wanted to fire up a konsole part, intercept the data going to
>         and from the konsole window, interpret it and make 'things'
>         happen.

More information about the PyQt mailing list