No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
13 Posted Topics
Hello fellows... Is there something like static function variables in python? I know there are static attributes of a class, but what if i want to use a static variable inside a function? somthing like this (stupid) code in c++ for example: [code]int static_num() { static int x = 0; … | |
Hello everyone! I want to use bash from python, however the os.system([I]command[/I]) seems to act only on one command at a time. I want to use complete commands, also containing control flow statements, like If and While, and to call them from python. something like this code in bash: T1="foo" … | |
Re: Hello everyone! I want to use bash from python, however the os.system([I]command[/I]) seems to only act on one command at a time. I want to use complete commands, also containing control flow statements, like If and While, and to call them from python. something like this code in bash: T1="foo" … | |
hello everybody, I've started to learn pyGTK and glade for a program i'm doing, and i've run into some problems: 1. Is there no way to change the size of a specific text when using glade? for example, a window title, a label text etc. 2. In the Gnome widgets, … | |
Hello... I'm using glade on linux platform, and i've bumped into a problem with Gtk.Image... When i'm using an image in glade, the xml glade file that's created does not contain the library path of the image, and that results in errors printed to the screen when running the application. … | |
Hello everyone..! I'm having a problem with gtk.ListStore class, while i'm trying to insert values into it. It seems that after I create the class object and use each one of the functions which responsible for values insertion (insert, append, prepend etc...), the only value that gets inserted to the … | |
Hello people! does anyone know in what way can you edit a default value inside a gtk.ComboBox? | |
Hey! Does anyone know how can i read the "sensitive" property of a gtk.Widget?? It seems that it only has a set_sensitive method, but has no way to retrieve that property... any suggestions?? | |
Hey.. Does anyone know what libraries are needed for using GnomeDruid class (and other Gnome classes), and where can i download these libraries? Thanks! | |
Hey everybody... Does sombody knows how can i use the getattr function in order to call to a sub function defined inside another one? somthing like this code: # ---------------------------- def func1 (self, func_name) : def func2 () : print "Blaaaa" def func3 () : print "Yaaaaa" getattr(?, func_name)() self.func1("func3") … | |
hello fellows, I seem to have a little problem: I tried to use the function getattr([I]object[/I], [I]attribute[/I]) with two strings which is being read from a xml file as arguments, and seem to have a problem with sending the first one as a string. the function thinks that the string … | |
Hello beautiful people..! i need a way to run a python program from another one... does anyone know what is the best way to call a process which runs another program in python, and when running that child process, causing the parent process to continue without waiting for the child … | |
Hello! I need some help... I parsed an xml file using the minidom.parse method, but when i printed the document object to the screen (using toxml() function), i noticed that the parser automatically replaced my " (inverted commas) chars into ' chars. for example : <Father_Tag> <Son_Tag title=' "Son" '> … |
The End.