Problem using execvp

2011-10-27 Thread faucheuse
Hi, I'm trying to launch my python program with another process name than "python.exe". In order to do that I'm trying to use the os.execvp function : os.execvp("./Launch.py", ["ProcessName"]) Launch.py is the file that Launch the program and ProcessName is the ... Process Name ^^ I get this er

Problem with a wx notebook

2011-10-17 Thread faucheuse
Hi there, I've created a wx NoteBook in wich I set multiples panels in wich I set one or more sizers. But nothing displays in the notebook, everything is outside. I've been searching an answer for 2 days ><. Can you help me plz ? Here is my code(with only one panel, to sum up the code) : class St

A tuple in order to pass returned values ?

2011-10-05 Thread faucheuse
Hi, (new to python and first message here \o/) I was wondering something : when you do : return value1, value2, value3 It returns a tuple. So if I want to pass these value to a function, the function have to look like : def function(self,(value1, value2, value3)) #self because i'm working with cl

A tuple in order to pass returned values ?

2011-10-05 Thread faucheuse
Hi, (new to python and first message here \o/) I was wondering something : when you do : return value1, value2, value3 It returns a tuple. So if I want to pass these value to a function, the function have to look like : def function(self,(value1, value2, value3)) #self because i'm working with cl