[python-uk] What else is running on my machine?

2007-11-19 Thread Jeremy Nicoll - pyuk
Is there a cross-platform of determining what other processes (or in Windows terms, other applications) are running? Is it possible in a cross-platform way to ask some other application to shut down, wait a while, and then test to see if it did shut? -- Jeremy C B Nicoll - my opinions are my own

[python-uk] Where is a Python program running?

2007-11-19 Thread Jeremy Nicoll - pyuk
Under Windows XP, I could have a program running under python.exe or pythonw.exe or under IDLE. How can I test within a python program which of these situations apply? At the moment, for example, I have a program which runs under python.exe because it might produce some output - certainly while

[python-uk] Reading a file of tab-separated values

2007-11-16 Thread Jeremy Nicoll - pyuk
Is there a simple way to read a whole (modest sized, parameter) file of lines of tab-separated lines into one Python data-structure? -- Jeremy C B Nicoll - my opinions are my own. ___ python-uk mailing list python-uk@python.org http://mail.python.org/