Re: [PyQt] Simple ls -1 /home to QComboBox example

2008-03-08 Thread JMiahMan
Simone Zaccarin wrote: Perhaps the os.walk(mypath) function in python? This function returns a list of files or directory and interating over that list you can add the items in the combobox. Sorry bud that didn't work but I found from another poster that os.listdir('/home') does. I

[PyQt] Simple ls -1 /home to QComboBox example

2008-03-07 Thread JMiahMan
Just wondering if someone could give me a simple example of using ls -1 /home to output to a ComboBox and then be read when a button is pushed. I have looked all over for something I can use (even just a simple example) I know most likely it's going to be related to something to do with a

Re: [PyQt] Simple ls -1 /home to QComboBox example

2008-03-07 Thread Simone
JMiahMan ha scritto: Just wondering if someone could give me a simple example of using ls -1 /home to output to a ComboBox and then be read when a button is pushed. I have looked all over for something I can use (even just a simple example) I know most likely it's going to be related to