On Wed, 25 Apr 2012, Prasad, Ramit wrote:
snip Useful to
know both though, since lots of people swear by % substitution.
And % formatting is slightly faster - if you end out doing tons of
formatting and you find your script isn't fast enough, it's worth taking a
look there.
-Wayne
In bash you can do this to see if a process is running:
[scarolan@kurobox:~/bin]$ kill -0 24275
[scarolan@kurobox:~/bin]$ echo $?
0
Is there a python equivalent? I tried using os.kill() but did not see
any way to capture the output.
___
Tutor maillist
On Thu, Apr 26, 2012 at 3:24 PM, Sean Carolan scaro...@gmail.com wrote:
In bash you can do this to see if a process is running:
[scarolan@kurobox:~/bin]$ kill -0 24275
[scarolan@kurobox:~/bin]$ echo $?
0
Is there a python equivalent? I tried using os.kill() but did not see
any way to
On 04/26/2012 02:24 PM, Sean Carolan wrote:
In bash you can do this to see if a process is running:
[scarolan@kurobox:~/bin]$ kill -0 24275
[scarolan@kurobox:~/bin]$ echo $?
0
Is there a python equivalent? I tried using os.kill() but did not see
any way to capture the output.
You might
hi everyone,
I'm usting python 3.2 on windows, and I'm doing these GUI exercises using
tkinter.
I've created this simple window with two widgets (a label and a button) the
button is supposed to exit the root window, but the problem is it doesn't
seem to, for some reason. It looks like it is
Here is what I am trying to:
the application user chooses an image file. I want to store the image data in
a field in a sqlite database. My understanding from the reading I have done is
that I have to convert the image data into a string , which I can then store in
the database.