Re: [PyQt] Fwd: QFileDialog error

2011-07-23 Thread Hans-Peter Jansen
On Saturday 23 July 2011, 07:49:02 Martin Airs wrote: > On Saturday 23 July 2011 07:41:18 Vincent Vande Vyvre wrote: > > It's normal, lineedit.text() returns a QString and Python don't > > like that. > > > > Use : os.path.split(str(self.lineedit.text())) > > > > -- > > Vincent V.V. > > Oqapy . Qa

Re: [PyQt] Fwd: QFileDialog error

2011-07-22 Thread Martin Airs
On Saturday 23 July 2011 07:41:18 Vincent Vande Vyvre wrote: > It's normal, lineedit.text() returns a QString and Python don't like that. > > Use : os.path.split(str(self.lineedit.text())) > > -- > Vincent V.V. > Oqapy . Qarte+7 . PaQager Aha, thats got it, thankyou very much Martin _

Re: [PyQt] Fwd: QFileDialog error

2011-07-22 Thread Martin Airs
hi Yaşar, aah sorry , yes its fails when assigning it to its own string, so it's a split problem? rather than QFileDialog Martin On Saturday 23 July 2011 08:07:42 Yaşar Arabacı wrote: > -- Yönlendirilmiş ileti -- > Kimden: Yaşar Arabacı > Tarih: 23 Temmuz 2011 08:07 > Konu: Re:

Re: [PyQt] Fwd: QFileDialog error

2011-07-22 Thread Vincent Vande Vyvre
Le 23/07/11 07:07, Yaşar Arabacı a écrit : -- Yönlendirilmiş ileti -- Kimden: Yaşar Arabacı Tarih: 23 Temmuz 2011 08:07 Konu: Re: [PyQt] QFileDialog error Kime: Martin Airs

[PyQt] Fwd: QFileDialog error

2011-07-22 Thread Yaşar Arabacı
-- Yönlendirilmiş ileti -- Kimden: Yaşar Arabacı Tarih: 23 Temmuz 2011 08:07 Konu: Re: [PyQt] QFileDialog error Kime: Martin Airs What happens when you assign it to its own string. Do you get error while assigning it to string or when using that string with file dialog? 2011/7