Running menu-editor with python-2.3
- From: "Joseph E. Sacco, Ph.D." <joseph_sacco comcast net>
- To: garnome-list <garnome-list gnome org>
- Subject: Running menu-editor with python-2.3
- Date: Sun, 27 Mar 2005 19:26:16 -0500
In order to run menu-editor with python-2.3, you will need a definition
for the function rsplit(), which is now part of the string module in
python-2.4.
This works:
def rsplit(string, sep, count=-1):
L = [part[::-1] for part in string[::-1].split(sep[::-1], count)]
L.reverse()
return L
If you are using python-2.3 and wish to experiment with
menu-editor-0.4.3
http://dev.realistanew.com/menu-editor/
add this function definition to the menu-editor script after the line
import gtk
-Joseph
--
joseph_sacco[at]comcast[dot]net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]