On Tue, 2003-08-05 at 05:36, Pierre Fortin wrote:
> On Mon, 04 Aug 2003 22:15:22 -0700 James Sparenberg
> <[EMAIL PROTECTED]> wrote:
> 
> > Perhaps it would be best offline dunno.  But would anyone know the
> > python equivalent to 
> > 
> > grep Number "$HOME/.kde/share/config/kdeglobals" | awk -F= '{print $2;}'
> > 
> > For the life of me I'm stumped... but that's no great accomplishment. 
> > Sorry if it's a bit OT but I don't have any visible friends who know
> > python.  *grin*  
> > 
> > James
> 
> 
> No time to give the entire script, gotta hit the road...  but I might
> start my trek with this (of course, it's early, I'm rushed AND groggy...):
> 
> import fileinput
> for line in fileinput.input(["$HOME/.kde/share/config/kdeglobals"]):
>    key,val = line.split("=")
>    ...
> 
> HTH

K it's a start time to play......
> 
> 
> ______________________________________________________________________
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to