I need to create a progress bar for a command that I run with popen, but so
far I've had no luck. Here's a sniplet of code:
Pd = QtGui.QProgressDialog ( "Creating Disk Image...", "Stop", 0, 0, self)
Pd.show ()
from os.path import isdir
if isdir(self.foldername):
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.
On Saturday 08 March 2008 08:34, Adeodato Simó wrote:
> * Jim Bublitz [Wed, 05 Mar 2008 09:46:33 -0800]:
> > The first PyKDE4 tarball release is available at Riverbank Computing
>
> W00t.
>
> > This release will build against KDE 4.0.0 or 4.0.1
>
> FWIW it fails with 4.0.1 because that version has:
I've been trying to use the poll and pid attributes of popen to
determine if mplayer is finished playing an audio track. I've tried
using popen, popen2, popen3, etc but it tells me that there is no poll
or PID module.
Could anyone help me with a proper method to determine if a process is
On Saturday 08 March 2008 09:44, Adeodato Simó wrote:
> Hello Jim.
>
> I get the following error when building your tarball:
>
> sipkdeuipart0.cpp: In function ‘PyObject* meth_X_rindex(PyObject*,
> PyObject*)’: sipkdeuipart0.cpp:232714: error: ‘rindex’ is not a member of
> ‘X’
> sipkdeuipart0.cpp:
On Samstag, 8. März 2008, Adeodato Simó wrote:
> * Jim Bublitz [Sat, 08 Mar 2008 08:50:29 -0800]:
> > On Saturday 08 March 2008 07:06, you wrote:
> > > Hi,
> > >
> > > trying to compile PyKDE4 yields in an error, that ksycocafactory.h
> > > cannot be found. I checked all rpm packages for openSUSE 1
Hello Jim.
I get the following error when building your tarball:
sipkdeuipart0.cpp: In function ‘PyObject* meth_X_rindex(PyObject*, PyObject*)’:
sipkdeuipart0.cpp:232714: error: ‘rindex’ is not a member of ‘X’
sipkdeuipart0.cpp: In function ‘PyObject* meth_X_Xrindex(PyObject*, PyObject*)’:
sipkde
On Saturday 08 March 2008 08:34, Adeodato Simó wrote:
> * Jim Bublitz [Wed, 05 Mar 2008 09:46:33 -0800]:
> > The first PyKDE4 tarball release is available at Riverbank Computing
>
> W00t.
>
> > This release will build against KDE 4.0.0 or 4.0.1
>
> FWIW it fails with 4.0.1 because that version has:
* Jim Bublitz [Sat, 08 Mar 2008 08:50:29 -0800]:
> On Saturday 08 March 2008 07:06, you wrote:
> > Hi,
> > trying to compile PyKDE4 yields in an error, that ksycocafactory.h cannot
> > be found. I checked all rpm packages for openSUSE 10.3 and none contains
> > this file. What am I doing wrong.
On Saturday 08 March 2008 07:06, you wrote:
> Hi,
>
> trying to compile PyKDE4 yields in an error, that ksycocafactory.h cannot
> be found. I checked all rpm packages for openSUSE 10.3 and none contains
> this file. What am I doing wrong.
It's some bug in the way the tarball gets built - I'll trac
* Jim Bublitz [Wed, 05 Mar 2008 09:46:33 -0800]:
> The first PyKDE4 tarball release is available at Riverbank Computing
W00t.
> This release will build against KDE 4.0.0 or 4.0.1
FWIW it fails with 4.0.1 because that version has:
#define KDE_VERSION_MINOR 0u
in kdeversion.h, as a workaround
Hi,
trying to compile PyKDE4 yields in an error, that ksycocafactory.h cannot be
found. I checked all rpm packages for openSUSE 10.3 and none contains this
file. What am I doing wrong.
Regards,
Detlev
--
Detlev Offenbach
[EMAIL PROTECTED]
___
PyQt ma
12 matches
Mail list logo