Hello everybody! I have a couple of questions about threads: the first
is, is there the possibility to cancel a thread while it is executing
(like the C function thread_cancel), for implementing something like an
"abort" button? And the second is, i have a GUI in which there's a
button that launche
1) no, i didn't; i'll go and read that function
2) well, the actual situation is: there's the main thread (the
application itself) and then the second thread that i create with
threading.Thread, in which i make some things; in this thread i call
gtk.gdk to update a window with a progress bar...
3)
If i have to execute an external program (for example, in the frontend
that i created for convert, from ImageMagick) i have 2 possibilities: i
can call one function between the exec* family, or i can call the
system function: so, which in your opinion is the best? The only
difference that i know (b
Is there any function to see how much space is left on a device (such
as a usb key)? I'm trying to fill in an mp3 reader in a little script,
and this information could be very useful! Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
Is there any function to see how much space is left on a device (such
as a usb key)? I'm trying to fill in an mp3 reader in a little script,
and this information could be very useful! Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
Hi! I have a little problem writing xml files formatted in a way like
the following:
bla
bla
Every new node element should have a tabulation before it, but when I
use xml.dom.minidom I use writexml, which considers as a new node also
the text (in my little example, "bla" phras