First  |  Prev |  Next  |  Last
Pages: 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162
How to call application in the background with subprocess.call
On Thu, Apr 8, 2010 at 7:39 PM, jorma kala <jjkk73(a)gmail.com> wrote: Hi, I'd like to call an external application (firefox) from a python program (a PyQT GUI), but I want the external application to run in the background, I mean I do not want my python calling program to wait till the external subproc... 9 Apr 2010 13:22
get objects from image
Hallo Everybody, Maybe you can help me with this: i have a picture. The picture is black, with some white objects. Is there any way i can detect the automatically? Something like: if there white objects bigger than 3 pixels draw a box there or get their position! getting their position is more important ... 8 Apr 2010 12:33
daemon.DaemonContext
i get : IOError: [Errno 9] Bad file descriptor when i have logging and using daemon.DaemonContext() i tried passing : fh = logging.handlers.TimedRotatingFileHandler(LOG_FILENAME, 'midnight', encoding='utf-8') with : context = daemon.DaemonContext() context.files_preserve=[fh] but no good what am i doing wro... 8 Apr 2010 20:48
raise exception with fake filename and linenumber
En Wed, 07 Apr 2010 17:23:22 -0300, kwatch <kwatch(a)gmail.com> escribi�: Is it possible to raise exception with custom traceback to specify file and line? I'm creating a certain parser. I want to report syntax error with the same format as other exception. ------------------------- 1: def parse(filen... 12 Apr 2010 14:45
ftp and python
Matjaz Pfefferer wrote: What would be the easiest way to copy files from one ftp folder to another without downloading them to local system? As best I can tell, this isn't well-supported by FTP[1] which doesn't seem to have a native "copy this file from server-location to server-location bypassing the clie... 11 Apr 2010 09:01
Regex driving me crazy...
Can someone make me un-crazy? I have a bit of code that right now, looks like this: status = getoutput('smartctl -l selftest /dev/sda').splitlines()[6] status = re.sub(' (?= )(?=([^"]*"[^"]*")*[^"]*$)', ":",status) print status Basically, it pulls the first actual line of data from the return... 8 Apr 2010 10:54
remote multiprocessing, shared object
Should be a simple question, but I can't seem to make it work from my understanding of the docs. I want to use the multiprocessing module with remote clients, accessing shared lists. I gather one is supposed to use register(), but I don't see exactly how. I'd like to have the clients read and write the shared ... 8 Apr 2010 02:53
[Q] raise exception with fake filename and linenumber
Hi all, Is it possible to raise exception with custom traceback to specify file and line? Situation ========= I'm creating a certain parser. I want to report syntax error with the same format as other exception. Example ======= parser.py: ------------------------- 1: def parse(filename): 2: if... 7 Apr 2010 16:52
+Hi+
http://sites.google.com/site/fgu45ythjg/rfea8i -- Matt ... 7 Apr 2010 15:45
[2.5.1/cookielib] How to display specific cookie?
Hello I'm using ActivePython 2.5.1 and the cookielib package to retrieve web pages. I'd like to display a given cookie from the cookiejar instead of the whole thing: ======== #OK for index, cookie in enumerate(cj): print index, ' : ', cookie #How to display just PHPSESSID? #AttributeError: Cookie... 7 Apr 2010 13:29
First  |  Prev |  Next  |  Last
Pages: 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162