View Full Version : python gconf
c2483
October 15th, 2005, 04:26 PM
I'm fairly new to python but i''ve been programming for awhile.
i found one example python script that would change the desktop wallpaper.
it uses the gconf module. When I try to run it however, I get
line 4: import: command not found
i tried installing some other packages, maybe not the right one
i have other modules working with import such as
import os
how do i get this working
pavpan
June 27th, 2007, 03:45 PM
did you install python-gconf?
duff
June 27th, 2007, 10:41 PM
that sounds like you aren't using the python interpreter. Make sure the script starts with the line #!/usr/bin/env pythonThat has to be the very first line, no line breaks or comments are allowed before that line.
altonbr
January 15th, 2008, 12:25 PM
I'm fairly new to python but i''ve been programming for awhile.
i found one example python script that would change the desktop wallpaper.
it uses the gconf module. When I try to run it however, I get
line 4: import: command not found
i tried installing some other packages, maybe not the right one
i have other modules working with import such as
import os
how do i get this working
Hey c2483, what tutorial is this? I'm new to Python and would like to know how to edit gconf as well...
Cherry Cotton
July 3rd, 2008, 04:51 AM
Hey c2483, what tutorial is this? I'm new to Python and would like to know how to edit gconf as well...
I think it's here: http://therning.org/magnus/archives/57
EDIT: Also, if you have python-gconf installed, you can look in /usr/share/doc/python-gconf/examples/ for some example scripts.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.